hilalrd commited on
Commit
961becc
1 Parent(s): 2f91532

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def run():
54
 
55
  if upload is not None:
56
  img = Image.open(upload)
57
- img = img.resize((224, 224))
58
  img_array = np.array(img)
59
  img_array = img_array / 255.0
60
  img_array = np.expand_dims(img_array, axis=0)
 
54
 
55
  if upload is not None:
56
  img = Image.open(upload)
57
+ img = img.resize((224, 224, 3))
58
  img_array = np.array(img)
59
  img_array = img_array / 255.0
60
  img_array = np.expand_dims(img_array, axis=0)