Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,8 @@ labels = {name: index for index, name in enumerate(classes)}
|
|
15 |
num_classes = len(classes)
|
16 |
|
17 |
# Load the model - update this path to the actual location of your model file
|
18 |
-
|
19 |
-
model = load_model(
|
20 |
-
|
21 |
# Predict function for interface
|
22 |
def predict_fn(image):
|
23 |
"""
|
|
|
15 |
num_classes = len(classes)
|
16 |
|
17 |
# Load the model - update this path to the actual location of your model file
|
18 |
+
from keras.models import load_model
|
19 |
+
model = load_model('sketch_recogination_model_cnn.h5')
|
|
|
20 |
# Predict function for interface
|
21 |
def predict_fn(image):
|
22 |
"""
|