Update app.py
Browse files
app.py
CHANGED
|
@@ -328,7 +328,7 @@ with gr.Blocks() as demo_precomputed:
|
|
| 328 |
|
| 329 |
with gr.Row(variant='panel'):
|
| 330 |
with gr.Column():
|
| 331 |
-
video = gr.Video(label="Video", format="mp4", include_audio=False)
|
| 332 |
abstract_symbols_btn = gr.Button("Abstract Symbols", variant='primary')
|
| 333 |
symbol_output = gr.HTML(label="Output")
|
| 334 |
examples = gr.Examples(examples = [['01_10.mp4'], ['01_11.mp4'], ['01_16.mp4'], ['01_33.mp4'], ['01_76.mp4'], ['01_140.mp4']], inputs=[video])
|
|
|
|
| 328 |
|
| 329 |
with gr.Row(variant='panel'):
|
| 330 |
with gr.Column():
|
| 331 |
+
video = gr.Video(label="Video", format="mp4", include_audio=False, sources=["upload"], interactive=False)
|
| 332 |
abstract_symbols_btn = gr.Button("Abstract Symbols", variant='primary')
|
| 333 |
symbol_output = gr.HTML(label="Output")
|
| 334 |
examples = gr.Examples(examples = [['01_10.mp4'], ['01_11.mp4'], ['01_16.mp4'], ['01_33.mp4'], ['01_76.mp4'], ['01_140.mp4']], inputs=[video])
|