atalaydenknalbant commited on
Commit
3d89efb
·
verified ·
1 Parent(s): 80dc010

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, show_share_button=False, visible=True)
213
- output_video = gr.Video(show_label=False, show_share_button=False, visible=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