EduFalcao commited on
Commit
5e2b9b9
·
verified ·
1 Parent(s): 3f62d78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,7 +6,8 @@ from PIL import Image
6
 
7
  # --- Constants ---
8
  IMG_SIZE = (224, 224)
9
- CLASS_ORDER = ['Black Rot', 'ESCA', 'Healthy', 'Leaf Blight']
 
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