Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -51,22 +51,22 @@ def app():
|
|
51 |
)
|
52 |
image_size = gr.Slider(
|
53 |
label="Image Size",
|
54 |
-
|
55 |
-
|
56 |
step=32,
|
57 |
value=640,
|
58 |
)
|
59 |
conf_threshold = gr.Slider(
|
60 |
label="Confidence Threshold",
|
61 |
-
|
62 |
-
|
63 |
step=0.1,
|
64 |
value=0.4,
|
65 |
)
|
66 |
iou_threshold = gr.Slider(
|
67 |
label="IoU Threshold",
|
68 |
-
|
69 |
-
|
70 |
step=0.1,
|
71 |
value=0.5,
|
72 |
)
|
|
|
51 |
)
|
52 |
image_size = gr.Slider(
|
53 |
label="Image Size",
|
54 |
+
minimum=320,
|
55 |
+
maximum=1280,
|
56 |
step=32,
|
57 |
value=640,
|
58 |
)
|
59 |
conf_threshold = gr.Slider(
|
60 |
label="Confidence Threshold",
|
61 |
+
minimum=0.1,
|
62 |
+
maximum=1.0,
|
63 |
step=0.1,
|
64 |
value=0.4,
|
65 |
)
|
66 |
iou_threshold = gr.Slider(
|
67 |
label="IoU Threshold",
|
68 |
+
minimum=0.1,
|
69 |
+
maximum=1.0,
|
70 |
step=0.1,
|
71 |
value=0.5,
|
72 |
)
|