Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -682,9 +682,9 @@ with gr.Blocks(title="Self-Forcing Streaming Demo") as demo:
|
|
682 |
|
683 |
# Connect the generator to the streaming video
|
684 |
start_btn.click(
|
685 |
-
fn=
|
686 |
inputs=[prompt, seed, fps],
|
687 |
-
outputs=[streaming_video, status_display]
|
688 |
)
|
689 |
|
690 |
# Function to handle download button click
|
|
|
682 |
|
683 |
# Connect the generator to the streaming video
|
684 |
start_btn.click(
|
685 |
+
fn=safe_frame_generator,
|
686 |
inputs=[prompt, seed, fps],
|
687 |
+
outputs=[streaming_video, status_display, final_video]
|
688 |
)
|
689 |
|
690 |
# Function to handle download button click
|