Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,8 @@ def generate(prompt,
|
|
| 80 |
|
| 81 |
# Part 4. Downscale the video to the expected resolution
|
| 82 |
video = [frame.resize((expected_width, expected_height)) for frame in latents[0]]
|
| 83 |
-
|
|
|
|
| 84 |
|
| 85 |
|
| 86 |
|
|
|
|
| 80 |
|
| 81 |
# Part 4. Downscale the video to the expected resolution
|
| 82 |
video = [frame.resize((expected_width, expected_height)) for frame in latents[0]]
|
| 83 |
+
export_to_video(latents, "output.mp4", fps=24)
|
| 84 |
+
return "output.mp4"
|
| 85 |
|
| 86 |
|
| 87 |
|