David Fischinger commited on
Commit
1530a3e
·
1 Parent(s): 6c58fe6

fix for loading model

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ def load_models():
27
  model_path1 = "IMVIP_Supplementary_Material/models/model1/"
28
  model_path2 = "IMVIP_Supplementary_Material/models/model2/"
29
 
30
- model_M1 = tf.keras.models.load_model("IMVIP_Supplementary_Material/models/model1/model1.h5")
31
- model_M2 = tf.keras.models.load_model("IMVIP_Supplementary_Material/models/model2/model2.h5")
32
 
33
  return model_M1, model_M2
34
 
 
27
  model_path1 = "IMVIP_Supplementary_Material/models/model1/"
28
  model_path2 = "IMVIP_Supplementary_Material/models/model2/"
29
 
30
+ model_M1 = tf.keras.models.load_model("IMVIP_Supplementary_Material/models/model1/")
31
+ model_M2 = tf.keras.models.load_model("IMVIP_Supplementary_Material/models/model2/")
32
 
33
  return model_M1, model_M2
34