Beasto commited on
Commit
b67aed8
·
1 Parent(s): f0c612e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ f = st.file_uploader("Choose a Photo")
12
  if f is not None:
13
  img = Image.open(f)
14
  img = img.resize((256,256))
15
- img = np.reshape(img,(1,28,28,3))
16
  pred,pred2 = model.predict(img),model2.predict(img)
17
 
18
  st.image(img,use_column_width=True)
 
12
  if f is not None:
13
  img = Image.open(f)
14
  img = img.resize((256,256))
15
+ img = np.reshape(img,(1,256,256,3))
16
  pred,pred2 = model.predict(img),model2.predict(img)
17
 
18
  st.image(img,use_column_width=True)