Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -209,8 +209,8 @@ with gr.Blocks() as app:
|
|
| 209 |
max_detection = gr.Slider(minimum=1, maximum=300, step=1, value=300, label="Max Detection")
|
| 210 |
infer_button = gr.Button("Detect Objects")
|
| 211 |
with gr.Column():
|
| 212 |
-
output_image = gr.Image(type="pil", show_label=False,
|
| 213 |
-
output_video = gr.Video(show_label=False,
|
| 214 |
gr.DeepLinkButton()
|
| 215 |
|
| 216 |
# Toggle input/output visibility
|
|
|
|
| 209 |
max_detection = gr.Slider(minimum=1, maximum=300, step=1, value=300, label="Max Detection")
|
| 210 |
infer_button = gr.Button("Detect Objects")
|
| 211 |
with gr.Column():
|
| 212 |
+
output_image = gr.Image(type="pil", show_label=False, visible=True)
|
| 213 |
+
output_video = gr.Video(show_label=False, visible=False)
|
| 214 |
gr.DeepLinkButton()
|
| 215 |
|
| 216 |
# Toggle input/output visibility
|