yusyel commited on
Commit
25e0284
·
1 Parent(s): 37b319d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ class_names = [
22
 
23
 
24
  def preprocess_image(img, label):
25
- img = load_img(img, target_size=(249, 249))
26
  img = image.img_to_array(img)
27
  img = np.expand_dims(img, axis=0)
28
  img /= 255.0
 
22
 
23
 
24
  def preprocess_image(img, label):
25
+ img = load_img(img, target_size=(249, 249, 3))
26
  img = image.img_to_array(img)
27
  img = np.expand_dims(img, axis=0)
28
  img /= 255.0