Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from keras.models import load_model
|
|
4 |
import numpy as np
|
5 |
|
6 |
# Load the pre-trained model from the local path
|
7 |
-
model_path = '
|
8 |
model = load_model(model_path) # Load the model here
|
9 |
|
10 |
def predict_disease(image_file, model, all_labels):
|
|
|
4 |
import numpy as np
|
5 |
|
6 |
# Load the pre-trained model from the local path
|
7 |
+
model_path = 'tomato.h5'
|
8 |
model = load_model(model_path) # Load the model here
|
9 |
|
10 |
def predict_disease(image_file, model, all_labels):
|