Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def predict_image(pic):
|
|
47 |
|
48 |
#x /= 255
|
49 |
|
50 |
-
custom = new_model.predict(x.reshape(
|
51 |
|
52 |
emotion_analysis(custom[0])
|
53 |
|
|
|
47 |
|
48 |
#x /= 255
|
49 |
|
50 |
+
custom = new_model.predict(x.reshape(48,48,1))
|
51 |
|
52 |
emotion_analysis(custom[0])
|
53 |
|