Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
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
|
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
|
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 |
|