Spaces:
Runtime error
Runtime error
Commit
·
5aff31f
1
Parent(s):
b9b3db4
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,9 +20,9 @@ with gr.Blocks(title="Leaf Disease Detection", theme=gr.themes.Monochrome()) as
|
|
| 20 |
with gr.Column():
|
| 21 |
with gr.Row():
|
| 22 |
with gr.Column():
|
| 23 |
-
box_color = gr.ColorPicker(label="Box Color", value="#
|
| 24 |
with gr.Column():
|
| 25 |
-
text_color = gr.ColorPicker(label="Prediction Color", value="#
|
| 26 |
|
| 27 |
confidence = gr.Slider(maximum=1, step=0.01, value=0.4, label="Confidence Threshold", interactive=True)
|
| 28 |
btn = gr.Button("Detect")
|
|
|
|
| 20 |
with gr.Column():
|
| 21 |
with gr.Row():
|
| 22 |
with gr.Column():
|
| 23 |
+
box_color = gr.ColorPicker(label="Box Color", value="#FFA500")
|
| 24 |
with gr.Column():
|
| 25 |
+
text_color = gr.ColorPicker(label="Prediction Color", value="#000000")
|
| 26 |
|
| 27 |
confidence = gr.Slider(maximum=1, step=0.01, value=0.4, label="Confidence Threshold", interactive=True)
|
| 28 |
btn = gr.Button("Detect")
|