Update app.py
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ def generate_image(secret_token, prompt, base, width, height, motion, step, desi
|
|
179 |
#
|
180 |
# maybe to make things faster, we could *not* encode the video (as this uses files and external processes, which can be slow)
|
181 |
# and instead return the unencoded frames to the frontend renderer?
|
182 |
-
raw_video_path = export_to_video_file(output.frames[0],
|
183 |
|
184 |
final_video_path = raw_video_path
|
185 |
|
|
|
179 |
#
|
180 |
# maybe to make things faster, we could *not* encode the video (as this uses files and external processes, which can be slow)
|
181 |
# and instead return the unencoded frames to the frontend renderer?
|
182 |
+
raw_video_path = export_to_video_file(output.frames[0], raw_video_path, fps=10)
|
183 |
|
184 |
final_video_path = raw_video_path
|
185 |
|