multimodalart HF Staff commited on
Commit
4fcc110
·
verified ·
1 Parent(s): f1719d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -526,7 +526,7 @@ def video_generation_handler_example(prompt, seed=42, fps=15):
526
  imageio.mimwrite(video_path, all_frames_for_video, fps=fps, quality=8)
527
  print(f"✅ Video saved to {video_path}")
528
 
529
- return video_path
530
 
531
  streaming_video = gr.Video(
532
  label="Live Stream",
 
526
  imageio.mimwrite(video_path, all_frames_for_video, fps=fps, quality=8)
527
  print(f"✅ Video saved to {video_path}")
528
 
529
+ return gr.update(value=video_path)
530
 
531
  streaming_video = gr.Video(
532
  label="Live Stream",