Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
efa319b
1
Parent(s):
d6e8a5f
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def sample(
|
|
48 |
base_count = len(glob(os.path.join(output_folder, "*.mp4")))
|
49 |
video_path = os.path.join(output_folder, f"{base_count:06d}.mp4")
|
50 |
|
51 |
-
frames = pipe(image, decode_chunk_size=decoding_t, generator=generator, motion_bucket_id=motion_bucket_id, noise_aug_strength=0.1).frames[0]
|
52 |
export_to_video(frames, video_path, fps=fps_id)
|
53 |
torch.manual_seed(seed)
|
54 |
|
|
|
48 |
base_count = len(glob(os.path.join(output_folder, "*.mp4")))
|
49 |
video_path = os.path.join(output_folder, f"{base_count:06d}.mp4")
|
50 |
|
51 |
+
frames = pipe(image, decode_chunk_size=decoding_t, generator=generator, motion_bucket_id=motion_bucket_id, noise_aug_strength=0.1, num_frames=25).frames[0]
|
52 |
export_to_video(frames, video_path, fps=fps_id)
|
53 |
torch.manual_seed(seed)
|
54 |
|