KaburaJ commited on
Commit
d25500f
·
1 Parent(s): 2f7cbf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def load_model():
54
  if not os.path.isfile('model.h5'):
55
  subprocess.run(['curl --output model.h5 "https://github.com/KaburaJ/Binary-Image-classification/blob/main/ZebraHorse/CNN%20Application/model.h5"'], shell=True)
56
 
57
- model = tf.keras.models.load_model('model.h5', compile=False)
58
  return model
59
  # def load_model():
60
  # # Load the model architecture
 
54
  if not os.path.isfile('model.h5'):
55
  subprocess.run(['curl --output model.h5 "https://github.com/KaburaJ/Binary-Image-classification/blob/main/ZebraHorse/CNN%20Application/model.h5"'], shell=True)
56
 
57
+ tf.keras.models.load_model('model.h5', compile=False)
58
  return model
59
  # def load_model():
60
  # # Load the model architecture