DurgaDeepak commited on
Commit
c7bfbd8
·
verified ·
1 Parent(s): 525f20c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,8 +150,8 @@ with gr.Blocks() as demo:
150
  run_depth = gr.Checkbox(label="Depth Estimation")
151
 
152
  with gr.Accordion("Object Detection Settings", open=True, visible=False) as OD_Settings:
153
- det_model = gr.Dropdown(choices=list(DETECTION_MODEL_MAP), label="Detection Model", visible=False)
154
- det_confidence = gr.Slider(0.1, 1.0, 0.5, label="Detection Confidence Threshold", visible=False)
155
 
156
 
157
  seg_model = gr.Dropdown(choices=list(SEGMENTATION_MODEL_MAP), label="Segmentation Model", visible=False)
 
150
  run_depth = gr.Checkbox(label="Depth Estimation")
151
 
152
  with gr.Accordion("Object Detection Settings", open=True, visible=False) as OD_Settings:
153
+ det_model = gr.Dropdown(choices=list(DETECTION_MODEL_MAP), label="Detection Model")
154
+ det_confidence = gr.Slider(0.1, 1.0, 0.5, label="Detection Confidence Threshold")
155
 
156
 
157
  seg_model = gr.Dropdown(choices=list(SEGMENTATION_MODEL_MAP), label="Segmentation Model", visible=False)