Spaces:
Runtime error
Runtime error
Commit
·
bb41d73
1
Parent(s):
1e261e9
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ with gr.Blocks(title="Plant Leaf Detection and Classification", theme=gr.themes.
|
|
32 |
with gr.Column():
|
33 |
text_color = gr.ColorPicker(label="Prediction Color", value="#000000")
|
34 |
|
35 |
-
confidence = gr.Slider(maximum=1, step=0.01, value=0.
|
36 |
btn = gr.Button("Detect")
|
37 |
|
38 |
with gr.Row():
|
|
|
32 |
with gr.Column():
|
33 |
text_color = gr.ColorPicker(label="Prediction Color", value="#000000")
|
34 |
|
35 |
+
confidence = gr.Slider(maximum=1, step=0.01, value=0.6, label="Confidence Threshold", interactive=True)
|
36 |
btn = gr.Button("Detect")
|
37 |
|
38 |
with gr.Row():
|