Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,8 +154,8 @@ with gr.Blocks() as app:
|
|
| 154 |
max_detection = gr.Slider(minimum=1, maximum=300, step=1, value=300, label="Max Detection")
|
| 155 |
infer_button = gr.Button("Detect Objects")
|
| 156 |
with gr.Column():
|
| 157 |
-
output_image = gr.Image(type="pil",
|
| 158 |
-
output_video = gr.Video(
|
| 159 |
gr.DeepLinkButton()
|
| 160 |
|
| 161 |
# Toggle input/output visibility
|
|
|
|
| 154 |
max_detection = gr.Slider(minimum=1, maximum=300, step=1, value=300, label="Max Detection")
|
| 155 |
infer_button = gr.Button("Detect Objects")
|
| 156 |
with gr.Column():
|
| 157 |
+
output_image = gr.Image(type="pil", show_label=False, show_share_button=False, visible=True)
|
| 158 |
+
output_video = gr.Video(show_label=False, show_share_button=False, visible=False)
|
| 159 |
gr.DeepLinkButton()
|
| 160 |
|
| 161 |
# Toggle input/output visibility
|