azlan8289 commited on
Commit
2ceba07
·
verified ·
1 Parent(s): 0cb9652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def load_model():
10
  model = load_model()
11
 
12
  def predict(image):
13
- image = image.reshape((-1, 300, 300, 3)) # Ensure image has the correct shape
14
  preds = model.predict(image)[0] # Assuming single image prediction
15
 
16
  # Updated human-readable labels for the new classification task
 
10
  model = load_model()
11
 
12
  def predict(image):
13
+ image = image.reshape((-1, 224, 224, 3)) # Ensure image has the correct shape
14
  preds = model.predict(image)[0] # Assuming single image prediction
15
 
16
  # Updated human-readable labels for the new classification task