ryefoxlime commited on
Commit
32c82b3
1 Parent(s): d80e46a

changed var name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ file = st.file_uploader(" ", type=["jpg", "png"])
60
  def import_and_predict(image_data, model):
61
  img_array = keras.preprocessing.image.img_to_array(image_data)
62
  img_array = np.expand_dims(img_array, axis=0)
63
- img_array = img_arr/255
64
 
65
  predictions = model.predict(img_array)
66
  return predictions
 
60
  def import_and_predict(image_data, model):
61
  img_array = keras.preprocessing.image.img_to_array(image_data)
62
  img_array = np.expand_dims(img_array, axis=0)
63
+ img_array = img_array/255
64
 
65
  predictions = model.predict(img_array)
66
  return predictions