Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -247,12 +247,12 @@ with gr.Blocks(title="Table Layout Detection") as demo:
|
|
| 247 |
|
| 248 |
gr.Markdown("### Configuration")
|
| 249 |
confidence_slider = gr.Slider(label="Confidence Threshold", minimum=0.0,
|
| 250 |
-
maximum=1.0, value=0.
|
| 251 |
info="Detection confidence level")
|
| 252 |
iou_slider = gr.Slider(label="IOU Threshold (NMS)", minimum=0.0, maximum=1.0,
|
| 253 |
-
value=0.
|
| 254 |
info="Intersection over union threshold")
|
| 255 |
-
imgsz_slider = gr.Slider(label="Image Size", minimum=320, maximum=
|
| 256 |
value=1280, step=32, info="Inference image resolution")
|
| 257 |
|
| 258 |
predict_btn = gr.Button("Detect Objects", variant="primary", size="lg")
|
|
|
|
| 247 |
|
| 248 |
gr.Markdown("### Configuration")
|
| 249 |
confidence_slider = gr.Slider(label="Confidence Threshold", minimum=0.0,
|
| 250 |
+
maximum=1.0, value=0.2, step=0.01,
|
| 251 |
info="Detection confidence level")
|
| 252 |
iou_slider = gr.Slider(label="IOU Threshold (NMS)", minimum=0.0, maximum=1.0,
|
| 253 |
+
value=0.2, step=0.01,
|
| 254 |
info="Intersection over union threshold")
|
| 255 |
+
imgsz_slider = gr.Slider(label="Image Size", minimum=320, maximum=2048,
|
| 256 |
value=1280, step=32, info="Inference image resolution")
|
| 257 |
|
| 258 |
predict_btn = gr.Button("Detect Objects", variant="primary", size="lg")
|