Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -333,7 +333,7 @@ def propagate_to_all(video_in, checkpoint, stored_inference_state, stored_frame_
|
|
333 |
clip = ImageSequenceClip(jpeg_images, fps=fps)
|
334 |
# Write the result to a file
|
335 |
final_vid_output_path = "output_video.mp4"
|
336 |
-
|
337 |
return gr.update(visible=False, value=None), gr.update(value=final_vid_output_path, visible=True)
|
338 |
|
339 |
|
|
|
333 |
clip = ImageSequenceClip(jpeg_images, fps=fps)
|
334 |
# Write the result to a file
|
335 |
final_vid_output_path = "output_video.mp4"
|
336 |
+
clip.write_videofile(output_path, codec='libx264')
|
337 |
return gr.update(visible=False, value=None), gr.update(value=final_vid_output_path, visible=True)
|
338 |
|
339 |
|