DurgaDeepak commited on
Commit
a648f0d
·
verified ·
1 Parent(s): 7c08f6b

Update app.py

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