ImportError: cannot import name 'img_to_array' from 'keras.preprocessing.image' (/usr/local/lib/python3.8/dist-packages/keras/preprocessing/image.py)
Traceback:
File "/usr/local/lib/python3.8/dist-packages/streamlit/scriptrunner/script_runner.py", line 475, in _run_script
exec(code, module.__dict__)
File "/root/Face_Emotion_Recognition/streamlit_app.py", line 6, in <module>
from keras.preprocessing.image import img_to_array