Spaces:
Paused
Paused
added examples
Browse files
app.py
CHANGED
|
@@ -130,7 +130,14 @@ with gr.Blocks() as demo:
|
|
| 130 |
with gr.Column():
|
| 131 |
video_output = gr.Video()
|
| 132 |
file_output = gr.Files()
|
| 133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
submit_btn.click(fn=infer, inputs=[video_input], outputs=[video_output, file_output])
|
| 135 |
|
| 136 |
demo.launch()
|
|
|
|
| 130 |
with gr.Column():
|
| 131 |
video_output = gr.Video()
|
| 132 |
file_output = gr.Files()
|
| 133 |
+
|
| 134 |
+
gr.Examples(
|
| 135 |
+
examples=["./examples/childishgambino.mp4", "./examples/jimmyfallon.mp4"],
|
| 136 |
+
fn=infer,
|
| 137 |
+
inputs=[video_input],
|
| 138 |
+
outputs=[video_output,file_output],
|
| 139 |
+
)
|
| 140 |
+
|
| 141 |
submit_btn.click(fn=infer, inputs=[video_input], outputs=[video_output, file_output])
|
| 142 |
|
| 143 |
demo.launch()
|