Update app.py
Browse files
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)
|