jableable commited on
Commit
4cb3cd0
·
verified ·
1 Parent(s): 4d9efce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ 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}")
19
 
20
 
 
14
  st.image(uploaded_img)
15
  img = Image.open(uploaded_img).resize((160, 160))
16
  img = np.array(img)
17
+ result = loaded_model.predict(img[None,:,:])
18
  st.write(f"Your prediction is: {result}")
19
 
20