Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def predict_segmentation(image):
|
|
28 |
|
29 |
custom_objects = {'dice_coef': dice_coef}
|
30 |
with tf.keras.utils.custom_object_scope(custom_objects):
|
31 |
-
model = tf.keras.models.load_model("
|
32 |
|
33 |
# Get the prediction
|
34 |
prediction = model.predict(X_test)
|
|
|
28 |
|
29 |
custom_objects = {'dice_coef': dice_coef}
|
30 |
with tf.keras.utils.custom_object_scope(custom_objects):
|
31 |
+
model = tf.keras.models.load_model("model_best.h5")
|
32 |
|
33 |
# Get the prediction
|
34 |
prediction = model.predict(X_test)
|