Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
153 |
-
seg_model = gr.Dropdown(choices=list(SEGMENTATION_MODEL_MAP), label="Segmentation Model", visible=
|
154 |
-
depth_model = gr.Dropdown(choices=list(DEPTH_MODEL_MAP), label="Depth Model", visible=
|
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 |
|