atalaydenknalbant commited on
Commit
c784124
·
verified ·
1 Parent(s): 27ef2d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", label="Annotated Image", visible=True)
158
- output_video = gr.Video(label="Annotated Video", visible=False)
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