Kyle Dampier commited on
Commit
e3171cd
1 Parent(s): fffb6ff

changing img_to_array import

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import tensorflow as tf
2
  import matplotlib.pyplot as plt
3
  from PIL import Image, ImageOps
4
- from keras.preprocessing.image import img_to_array
5
 
6
  from streamlit_drawable_canvas import st_canvas
7
  import streamlit as st
 
1
  import tensorflow as tf
2
  import matplotlib.pyplot as plt
3
  from PIL import Image, ImageOps
4
+ from tensorflow.keras.utils import img_to_array
5
 
6
  from streamlit_drawable_canvas import st_canvas
7
  import streamlit as st