Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/FrancescaFr/PlantID
Browse files
app.py
CHANGED
|
@@ -18,9 +18,11 @@ def classify(im):
|
|
| 18 |
return confidences
|
| 19 |
|
| 20 |
interface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
| 21 |
fn=classify,
|
| 22 |
inputs="image",
|
| 23 |
outputs="label",
|
| 24 |
)
|
| 25 |
-
|
| 26 |
interface.launch(debug=True)
|
|
|
|
| 18 |
return confidences
|
| 19 |
|
| 20 |
interface = gr.Interface(
|
| 21 |
+
title="Plant Health Identifier",
|
| 22 |
+
description="Upload an image of plant leaf to determine if it is infected or healthy",
|
| 23 |
+
examples= "/examples",
|
| 24 |
fn=classify,
|
| 25 |
inputs="image",
|
| 26 |
outputs="label",
|
| 27 |
)
|
|
|
|
| 28 |
interface.launch(debug=True)
|