vichetkao commited on
Commit
a4ed4be
·
verified ·
1 Parent(s): 0c0a0fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.1, 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.1, step=0.01,
254
  info="Intersection over union threshold")
255
- imgsz_slider = gr.Slider(label="Image Size", minimum=320, maximum=1280,
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")