Commit ·
429c6ea
1
Parent(s): 317e9de
Update app.py (#1)
Browse files- Update app.py (5de3624b34b375c8063b6108519e3ac3917795ce)
Co-authored-by: George <rabeshi@users.noreply.huggingface.co>
app.py
CHANGED
|
@@ -17,7 +17,7 @@ model = tf.keras.models.load_model('modelA.keras')
|
|
| 17 |
|
| 18 |
img_height = 240
|
| 19 |
img_width = 240
|
| 20 |
-
class_names = ['Healthy', '
|
| 21 |
num_classes = len(class_names)
|
| 22 |
|
| 23 |
def classify_image(img):
|
|
|
|
| 17 |
|
| 18 |
img_height = 240
|
| 19 |
img_width = 240
|
| 20 |
+
class_names = ['Healthy', 'Maize Lethal Necrosis', 'Maize Streak Virus']
|
| 21 |
num_classes = len(class_names)
|
| 22 |
|
| 23 |
def classify_image(img):
|