Spaces:
Runtime error
Runtime error
Irina Tolstykh
commited on
Commit
·
1b018f5
1
Parent(s):
f4e3f66
change labels
Browse files
app.py
CHANGED
|
@@ -91,8 +91,8 @@ gr.Interface(
|
|
| 91 |
fn=func,
|
| 92 |
inputs=[
|
| 93 |
gr.Image(label='Input', type='numpy'),
|
| 94 |
-
gr.Slider(0, 1, value=0.4, step=0.05, label='Score Threshold'),
|
| 95 |
-
gr.Slider(0, 1, value=0.7, step=0.05, label='Iou Threshold'),
|
| 96 |
gr.Radio(["Use persons and faces", "Use persons only", "Use faces only"],
|
| 97 |
value="Use persons and faces",
|
| 98 |
label="Inference mode",
|
|
|
|
| 91 |
fn=func,
|
| 92 |
inputs=[
|
| 93 |
gr.Image(label='Input', type='numpy'),
|
| 94 |
+
gr.Slider(0, 1, value=0.4, step=0.05, label='Detector Score Threshold'),
|
| 95 |
+
gr.Slider(0, 1, value=0.7, step=0.05, label='NMS Iou Threshold'),
|
| 96 |
gr.Radio(["Use persons and faces", "Use persons only", "Use faces only"],
|
| 97 |
value="Use persons and faces",
|
| 98 |
label="Inference mode",
|