Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def classify_potato_plant(img):
|
|
| 29 |
interface = gr.Interface(
|
| 30 |
fn=classify_potato_plant,
|
| 31 |
inputs=gr.Image(type="pil"),
|
| 32 |
-
outputs=[gr.Label(num_top_classes=1), gr.
|
| 33 |
)
|
| 34 |
|
| 35 |
# Launch the app
|
|
|
|
| 29 |
interface = gr.Interface(
|
| 30 |
fn=classify_potato_plant,
|
| 31 |
inputs=gr.Image(type="pil"),
|
| 32 |
+
outputs=[gr.Label(num_top_classes=1), gr.Textbox(label="Confidence Score")]
|
| 33 |
)
|
| 34 |
|
| 35 |
# Launch the app
|