Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ iface = gr.Interface(
|
|
17 |
fn=predict_image,
|
18 |
inputs=[
|
19 |
gr.Image(type="filepath", label="Upload Image"),
|
20 |
-
gr.Slider(minimum=0, maximum=1, value=0.
|
21 |
],
|
22 |
outputs=gr.Image(type="filepath", label="Result"),
|
23 |
title="OneThousand YoloV2 Person Detection",
|
|
|
17 |
fn=predict_image,
|
18 |
inputs=[
|
19 |
gr.Image(type="filepath", label="Upload Image"),
|
20 |
+
gr.Slider(minimum=0, maximum=1, value=0.75, label="Confidence threshold"),
|
21 |
],
|
22 |
outputs=gr.Image(type="filepath", label="Result"),
|
23 |
title="OneThousand YoloV2 Person Detection",
|