Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|