itzjunayed commited on
Commit
8fb284f
·
verified ·
1 Parent(s): 591a391

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("model100.h5")
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)