Sathyadithyarithi commited on
Commit
50a8e88
·
verified ·
1 Parent(s): 9ea3d12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -38,11 +38,9 @@ gr.Markdown("### Set Confidence (conf) and Intersection over Union (IoU) Thresho
38
  gr.Interface(
39
  fn=predict,
40
  inputs=[
41
- gr.Image(type="pil", label="Upload Image to detect objects"),
42
- gr.Markdown("### Set Confidence (conf) Threshold: Control the confidence for detecting objects. Higher means more accurate."),
43
- gr.Slider(minimum=0.1, maximum=1.0, value=0.5, step=0.05, label="Confidence (conf)"),
44
- gr.Markdown("### Set Intersection over Union (IoU) Threshold: Control the IoU threshold for object overlap."),
45
- gr.Slider(minimum=0.1, maximum=1.0, value=0.6, step=0.05, label="IoU (iou)")
46
  ],
47
  outputs=gr.Image(type="pil", label="Detected Image"),
48
  title="Object Detection App for RRR Charan and NTR"
 
38
  gr.Interface(
39
  fn=predict,
40
  inputs=[
41
+ gr.Image(type="pil", label="Upload Image to Detect Objects"),
42
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.5, step=0.05, label="Confidence (conf)", info="Set the confidence threshold for object detection."),
43
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.6, step=0.05, label="Intersection over Union (IoU)", info="Set the IoU threshold to filter detections.")
 
 
44
  ],
45
  outputs=gr.Image(type="pil", label="Detected Image"),
46
  title="Object Detection App for RRR Charan and NTR"