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