KaburaJ commited on
Commit
d89adef
·
1 Parent(s): 9358ae1

Update app.py

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