Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
42 |
-
gr.
|
43 |
-
gr.Slider(minimum=0.1, maximum=1.0, value=0.
|
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"
|