fradinho commited on
Commit
95c22f4
·
1 Parent(s): bf0d5ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -127,7 +127,8 @@ def weighted_categorical_crossentropy(weights):
127
 
128
  # Load the model
129
  #model = tf.keras.models.load_model("model.h5", custom_objects={"jacard":jacard, "wcce":weighted_categorical_crossentropy})
130
- model = tf.keras.models.load_model("model_2.h5", custom_objects={"jacard":jacard, "bce_dice":bce_dice})
 
131
 
132
 
133
  # Create a user interface for the model
 
127
 
128
  # Load the model
129
  #model = tf.keras.models.load_model("model.h5", custom_objects={"jacard":jacard, "wcce":weighted_categorical_crossentropy})
130
+ #model = tf.keras.models.load_model("model_2.h5", custom_objects={"jacard":jacard, "bce_dice":bce_dice})
131
+ model = tf.keras.models.load_model("model_2_A.h5", custom_objects={"jacard":jacard, "bce_dice":bce_dice})
132
 
133
 
134
  # Create a user interface for the model