Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ with gr.Blocks() as demo:
|
|
122 |
|
123 |
|
124 |
examples = gr.Examples(
|
125 |
-
[
|
126 |
inputs=[in_video, bg_type, bg_image],
|
127 |
outputs=[stream_image, out_video],
|
128 |
fn=fn,
|
@@ -130,6 +130,7 @@ with gr.Blocks() as demo:
|
|
130 |
cache_mode="eager",
|
131 |
)
|
132 |
|
|
|
133 |
submit_button.click(
|
134 |
fn,
|
135 |
inputs=[in_video, bg_type, bg_image, color_picker, fps_slider],
|
|
|
122 |
|
123 |
|
124 |
examples = gr.Examples(
|
125 |
+
[["rickroll-2sec.mp4", "Image", "images.webp"], ["rickroll-2sec.mp4", "Color", None]],
|
126 |
inputs=[in_video, bg_type, bg_image],
|
127 |
outputs=[stream_image, out_video],
|
128 |
fn=fn,
|
|
|
130 |
cache_mode="eager",
|
131 |
)
|
132 |
|
133 |
+
|
134 |
submit_button.click(
|
135 |
fn,
|
136 |
inputs=[in_video, bg_type, bg_image, color_picker, fps_slider],
|