KikoDM commited on
Commit
ee00fdd
·
1 Parent(s): d1a8df6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def predict_image(pic):
41
  #img = image.load_img(pic, grayscale=True, target_size=(48, 48))
42
  #show_img=image.load_img(pic, grayscale=False, target_size=(200, 200))
43
  #pic = pic.reshape(-1,48, 48,1])
44
- x = image.img_to_array(img)
45
 
46
  x = np.expand_dims(x, axis = 0)
47
 
 
41
  #img = image.load_img(pic, grayscale=True, target_size=(48, 48))
42
  #show_img=image.load_img(pic, grayscale=False, target_size=(200, 200))
43
  #pic = pic.reshape(-1,48, 48,1])
44
+ x = image.img_to_array(pic)
45
 
46
  x = np.expand_dims(x, axis = 0)
47