Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def predict(image):
|
|
51 |
|
52 |
# Include the message in the leaf_category textbox if leaf identification fails
|
53 |
if disease_name == "Not applicable":
|
54 |
-
leaf_category = "Unfortunately, we are having trouble identifying a singular leaf in this image. \n(
|
55 |
formatted_percentage = "Sorry we couldn't figure it out :("
|
56 |
|
57 |
|
|
|
51 |
|
52 |
# Include the message in the leaf_category textbox if leaf identification fails
|
53 |
if disease_name == "Not applicable":
|
54 |
+
leaf_category = "Unfortunately, we are having trouble identifying a singular leaf in this image. \n(Try uploading a different image with your leaf on a white backgound)"
|
55 |
formatted_percentage = "Sorry we couldn't figure it out :("
|
56 |
|
57 |
|