When deploying my streamlit app, I keep getting this error, and I don’t know how to fix it:
Screenshot 2020-11-18 at 15.01.231452×718 68.7 KB
I would like to display an image and this is my code:
from PIL import Image
imagg = Image.open('FSnm.png')
st.image(imagg, width=None)

I tried linking the path to the image, but the same error would occur. I am confused because the image would just show when running the webapp in my localhost.
Please help!!!