Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ if day_inp is not None:
|
|
| 26 |
img = Image.open(day_inp)
|
| 27 |
img = img.resize((256,256))
|
| 28 |
img = np.asarray(img)
|
| 29 |
-
img = np.reshape(img,(
|
| 30 |
|
| 31 |
pred = model_out('FaceWithMask.h5', img)
|
| 32 |
st.subheader('Input Image')
|
|
|
|
| 26 |
img = Image.open(day_inp)
|
| 27 |
img = img.resize((256,256))
|
| 28 |
img = np.asarray(img)
|
| 29 |
+
img = np.reshape(img,(256,256,3))
|
| 30 |
|
| 31 |
pred = model_out('FaceWithMask.h5', img)
|
| 32 |
st.subheader('Input Image')
|