KikoDM commited on
Commit
96543a7
·
1 Parent(s): ea46f1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def predict_image(pic):
50
  emotion_analysis(custom[0])
51
 
52
  x = np.array(x, 'float32')
53
- x = x.reshape([48, 48]);
54
 
55
  plt.gray()
56
  plt.imshow(show_img)
 
50
  emotion_analysis(custom[0])
51
 
52
  x = np.array(x, 'float32')
53
+ x = x.reshape([48, 48,1]);
54
 
55
  plt.gray()
56
  plt.imshow(show_img)