Beasto commited on
Commit
e665ab1
·
1 Parent(s): 35080af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,(1,256,256,3))
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')