KikoDM commited on
Commit
9d5b6df
·
1 Parent(s): c79a95e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def emotion_analysis(emotions):
38
 
39
 
40
  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
  x = image.img_to_array(img)
44
  x = np.expand_dims(x, axis = 0)
 
38
 
39
 
40
  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
  x = image.img_to_array(img)
44
  x = np.expand_dims(x, axis = 0)