usama1355 commited on
Commit
686cec8
·
verified ·
1 Parent(s): 65a960d

Update app.py

Browse files

Added Potato New Model Code

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,8 +40,8 @@ APPLE_MODEL_PATH = "apple_modelH.tflite"
40
  APPLE_CLASS_NAMES = ['Apple Scab', 'Black Rot', 'Cedar Apple Rust', 'Healthy']
41
 
42
  # --- POTATO CONFIGURATION ---
43
- POTATO_MODEL_PATH = "PotatoModel.tflite"
44
- POTATO_CLASS_NAMES = ['Early Blight', 'Fungal Diseases', 'Healthy', 'Late Blight', 'Plant Pests', 'Potato Cyst Nematode', 'Potato Virus']
45
 
46
  # --- TOMATO CONFIGURATION ---
47
  TOMATO_MODEL_PATH = "TomatoModelH.tflite"
 
40
  APPLE_CLASS_NAMES = ['Apple Scab', 'Black Rot', 'Cedar Apple Rust', 'Healthy']
41
 
42
  # --- POTATO CONFIGURATION ---
43
+ POTATO_MODEL_PATH = "potato_model.tflite"
44
+ POTATO_CLASS_NAMES = ['Potato___Early_blight', 'Potato___Late_blight', 'Potato___healthy']
45
 
46
  # --- TOMATO CONFIGURATION ---
47
  TOMATO_MODEL_PATH = "TomatoModelH.tflite"