jableable commited on
Commit
2ced307
·
verified ·
1 Parent(s): f6a9ec3

Update app.py

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