Spaces:
Runtime error
Runtime error
Commit
•
f99e997
1
Parent(s):
b2a6e83
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def generate_video(prompt, image=None, duration=5, guidance_scale=9, video_guida
|
|
98 |
save_memory=True,
|
99 |
)
|
100 |
output_path = f"{str(uuid.uuid4())}_output_video.mp4"
|
101 |
-
export_to_video(frames, output_path, fps=8)
|
102 |
return output_path
|
103 |
|
104 |
# Gradio interface
|
|
|
98 |
save_memory=True,
|
99 |
)
|
100 |
output_path = f"{str(uuid.uuid4())}_output_video.mp4"
|
101 |
+
export_to_video(frames, output_path, fps=8 if is_canonical else 24)
|
102 |
return output_path
|
103 |
|
104 |
# Gradio interface
|