Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ iface = gr.Interface(
|
|
| 22 |
fn=predict,
|
| 23 |
inputs=[
|
| 24 |
gr.Image(label="Input Image", type="filepath"),
|
| 25 |
-
gr.Slider(minimum=0, maximum=1,
|
| 26 |
],
|
| 27 |
outputs="image",
|
| 28 |
title="Coin Detector",
|
|
|
|
| 22 |
fn=predict,
|
| 23 |
inputs=[
|
| 24 |
gr.Image(label="Input Image", type="filepath"),
|
| 25 |
+
gr.Slider(minimum=0, maximum=1, value=0.5, label="Confidence Threshold", step=0.01)
|
| 26 |
],
|
| 27 |
outputs="image",
|
| 28 |
title="Coin Detector",
|