linoyts HF Staff commited on
Commit
afc7727
·
verified ·
1 Parent(s): a8fbd57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- return video
 
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