jableable commited on
Commit
4d9efce
1 Parent(s): 2fcfc85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ uploaded_img = st.file_uploader("Upload your file here...",type=['png', 'jpeg',
12
 
13
  if uploaded_img is not None:
14
  st.image(uploaded_img)
15
- img = Image.open(uploaded_img).resize((160, 160), Image.ANTIALIAS)
16
  img = np.array(img)
17
  result = model.predict(img[None,:,:])
18
  st.write(f"Your prediction is: {result}")
 
12
 
13
  if uploaded_img is not None:
14
  st.image(uploaded_img)
15
+ img = Image.open(uploaded_img).resize((160, 160))
16
  img = np.array(img)
17
  result = model.predict(img[None,:,:])
18
  st.write(f"Your prediction is: {result}")