Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,8 @@ from PIL import Image
|
|
6 |
|
7 |
# --- Constants ---
|
8 |
IMG_SIZE = (224, 224)
|
9 |
-
CLASS_ORDER = [
|
|
|
10 |
MODEL_PATH = "cropvision_model.keras" # ensure this file is in the same folder
|
11 |
|
12 |
|
|
|
6 |
|
7 |
# --- Constants ---
|
8 |
IMG_SIZE = (224, 224)
|
9 |
+
# antes: CLASS_ORDER = [ … ]
|
10 |
+
CLASS_ORDER = sorted(['Healthy', 'Leaf Blight', 'Black Rot', 'ESCA'])
|
11 |
MODEL_PATH = "cropvision_model.keras" # ensure this file is in the same folder
|
12 |
|
13 |
|