DurgaDeepak commited on
Commit
7eff7af
·
verified ·
1 Parent(s): 2ec5667

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -151,16 +151,16 @@ with gr.Blocks() as demo:
151
  run_depth = gr.Checkbox(label="Depth Estimation")
152
 
153
  with gr.Row():
154
- with gr.Column(visible=False) as OD_settings:
155
  with gr.Accordion("Object Detection Settings", open=True):
156
  det_model = gr.Dropdown(choices=list(DETECTION_MODEL_MAP), label="Detection Model")
157
  det_confidence = gr.Slider(0.1, 1.0, 0.5, label="Detection Confidence Threshold")
158
 
159
- with gr.Column(visible=False) as SS_settings:
160
  with gr.Accordion("Semantic Segmentation Settings", open=True):
161
  seg_model = gr.Dropdown(choices=list(SEGMENTATION_MODEL_MAP), label="Segmentation Model")
162
 
163
- with gr.Column(visible=False) as DE_settings:
164
  with gr.Accordion("Depth Estimation Settings", open=True):
165
  depth_model = gr.Dropdown(choices=list(DEPTH_MODEL_MAP), label="Depth Model")
166
 
 
151
  run_depth = gr.Checkbox(label="Depth Estimation")
152
 
153
  with gr.Row():
154
+ with gr.Column(visible=False) as OD_Settings:
155
  with gr.Accordion("Object Detection Settings", open=True):
156
  det_model = gr.Dropdown(choices=list(DETECTION_MODEL_MAP), label="Detection Model")
157
  det_confidence = gr.Slider(0.1, 1.0, 0.5, label="Detection Confidence Threshold")
158
 
159
+ with gr.Column(visible=False) as SS_Settings:
160
  with gr.Accordion("Semantic Segmentation Settings", open=True):
161
  seg_model = gr.Dropdown(choices=list(SEGMENTATION_MODEL_MAP), label="Segmentation Model")
162
 
163
+ with gr.Column(visible=False) as DE_Settings:
164
  with gr.Accordion("Depth Estimation Settings", open=True):
165
  depth_model = gr.Dropdown(choices=list(DEPTH_MODEL_MAP), label="Depth Model")
166