yuragoithf commited on
Commit
eb4128b
·
verified ·
1 Parent(s): 014e0c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def download_model():
30
  model_file = download_model()
31
 
32
  # Load the model
33
- model = tf.keras.models.load_model(model_file)
34
 
35
  # Perform image classification for single class output
36
  # def predict_class(image):
 
30
  model_file = download_model()
31
 
32
  # Load the model
33
+ model = tf.keras.models.load_model(model_file, compile=True)
34
 
35
  # Perform image classification for single class output
36
  # def predict_class(image):