Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
| 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)
|
|
|
|
| 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)
|