Spaces:
Runtime error
Runtime error
Commit ·
8494608
1
Parent(s): c843211
fix bugs after update
Browse files
app.py
CHANGED
|
@@ -315,8 +315,8 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
|
|
| 315 |
in_video = gr.PlayableVideo(label="Input Video", elem_id='input-video', format='mp4', width=400, height=400, interactive=True)
|
| 316 |
|
| 317 |
with gr.Row():
|
| 318 |
-
run_button = gr.Button(
|
| 319 |
-
api_dummy_button = gr.Button(
|
| 320 |
count_only = gr.Checkbox(label="Count Only", visible=False)
|
| 321 |
api_token = gr.Textbox(label="API Key", elem_id='api-token', visible=False)
|
| 322 |
|
|
|
|
| 315 |
in_video = gr.PlayableVideo(label="Input Video", elem_id='input-video', format='mp4', width=400, height=400, interactive=True)
|
| 316 |
|
| 317 |
with gr.Row():
|
| 318 |
+
run_button = gr.Button(value="Run", elem_id='run-button', scale=1)
|
| 319 |
+
api_dummy_button = gr.Button(value="Run (No Viz)", elem_id='count-only', visible=False, scale=2)
|
| 320 |
count_only = gr.Checkbox(label="Count Only", visible=False)
|
| 321 |
api_token = gr.Textbox(label="API Key", elem_id='api-token', visible=False)
|
| 322 |
|