psinha823 commited on
Commit
3f70f9e
·
verified ·
1 Parent(s): 5e21dd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def classify_LC_image(img):
121
 
122
  # Making predictions
123
  model_h5 = tf.keras.models.load_model(model_path)
124
- predictions = model_h5.predict(img_array, 0)
125
 
126
  # Getting the class with the highest probability
127
  class_idx = np.argmax(predictions)
 
121
 
122
  # Making predictions
123
  model_h5 = tf.keras.models.load_model(model_path)
124
+ predictions = model_h5.predict(img_array)
125
 
126
  # Getting the class with the highest probability
127
  class_idx = np.argmax(predictions)