jableable commited on
Commit
f6a9ec3
·
verified ·
1 Parent(s): 7dc0a6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ 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_image = image.resize((320,320))
17
- array = np.array(resized_image)
18
  result = loaded_model.predict(array)
19
  st.write(f"Your prediction is: {result}")
20
 
 
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}")
20