KikoDM commited on
Commit
8593085
·
1 Parent(s): 2d8cd2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict_image(pic):
45
 
46
  x /= 255
47
 
48
- custom = new_model.predict(x.reshape(None,48,48,1))
49
 
50
  emotion_analysis(custom[0])
51
 
 
45
 
46
  x /= 255
47
 
48
+ custom = new_model.predict(x.reshape(0,48,48,1))
49
 
50
  emotion_analysis(custom[0])
51