Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import os
|
|
| 5 |
|
| 6 |
|
| 7 |
print(os.listdir('./model'))
|
| 8 |
-
used_model = tf.keras.
|
| 9 |
new_classes = ['blight', 'common_rust', 'gray_leaf_spot','healthy']
|
| 10 |
|
| 11 |
def classify_image(img_dt):
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
print(os.listdir('./model'))
|
| 8 |
+
used_model = tf.keras.models.load_model ('./model')
|
| 9 |
new_classes = ['blight', 'common_rust', 'gray_leaf_spot','healthy']
|
| 10 |
|
| 11 |
def classify_image(img_dt):
|