update: increase num_frames
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def generate(prompt: str, progress=gr.Progress()):
|
|
78 |
guidance_scale=9.0,
|
79 |
generator=generator,
|
80 |
decode_chunk_size=2,
|
81 |
-
num_frames=
|
82 |
).frames[0]
|
83 |
progress((total_steps - 1, total_steps), desc="Finalizing...")
|
84 |
frames = [to_tensor(frame.convert("RGB")).mul(255).byte().permute(1, 2, 0) for frame in frames]
|
|
|
78 |
guidance_scale=9.0,
|
79 |
generator=generator,
|
80 |
decode_chunk_size=2,
|
81 |
+
num_frames=32,
|
82 |
).frames[0]
|
83 |
progress((total_steps - 1, total_steps), desc="Finalizing...")
|
84 |
frames = [to_tensor(frame.convert("RGB")).mul(255).byte().permute(1, 2, 0) for frame in frames]
|