Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
|
|
97 |
fps_slider = gr.Slider(minimum=1, maximum=60, step=1, value=12, label="Output FPS")
|
98 |
color_picker = gr.ColorPicker(label="Background Color", value="#00FF00")
|
99 |
|
100 |
-
examples = gr.Examples(["rickroll-2sec.mp4"], inputs=in_video, outputs=[stream_image, out_video], fn=fn, cache_examples=True, cache_mode="
|
101 |
|
102 |
submit_button.click(
|
103 |
fn, inputs=[in_video, fps_slider, color_picker], outputs=[stream_image, out_video]
|
|
|
97 |
fps_slider = gr.Slider(minimum=1, maximum=60, step=1, value=12, label="Output FPS")
|
98 |
color_picker = gr.ColorPicker(label="Background Color", value="#00FF00")
|
99 |
|
100 |
+
examples = gr.Examples(["rickroll-2sec.mp4"], inputs=in_video, outputs=[stream_image, out_video], fn=fn, cache_examples=True, cache_mode="eager")
|
101 |
|
102 |
submit_button.click(
|
103 |
fn, inputs=[in_video, fps_slider, color_picker], outputs=[stream_image, out_video]
|