Merge pull request #336 from sculmh/patch-1

fix: unexpected num_frames during v2v inference
This commit is contained in:
Yuxuan.Zhang 2024-09-24 18:28:05 +08:00 committed by GitHub
commit 628f736628
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,7 +133,7 @@ def generate_video(
video=video, # The path of the video to be used as the background of the video
num_videos_per_prompt=num_videos_per_prompt,
num_inference_steps=num_inference_steps,
num_frames=49,
# num_frames=49,
use_dynamic_cfg=True,
guidance_scale=guidance_scale,
generator=torch.Generator().manual_seed(seed), # Set the seed for reproducibility