jableable commited on
Commit
66f8933
·
verified ·
1 Parent(s): 14a5348

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ if uploaded_img is not None:
15
  img = Image.open(uploaded_img)
16
  print(img.mode)
17
  resized_img = img.resize((160,160))
18
- print(img.mode)
19
  input_arr = keras.preprocessing.image.img_to_array(resized_img)
20
  print(input_arr.shape)
21
  input_arr = input_arr.astype('float32') / 255.
 
15
  img = Image.open(uploaded_img)
16
  print(img.mode)
17
  resized_img = img.resize((160,160))
18
+ print(resized_img.mode)
19
  input_arr = keras.preprocessing.image.img_to_array(resized_img)
20
  print(input_arr.shape)
21
  input_arr = input_arr.astype('float32') / 255.