Hi, this is my first time using streamlit, now when I tested the code on my local machine everything worked perfectly however when i try to deploy it it print out this Error
I found the solution, First I was trying to open the image as if it was on my local machine, instead you can just get the image from the url. so navigate to your github where you’ve uploaded your image, then open it and right click on the image>open in a new tab, then you can copy the link and replace it with URL
url_icon = “URL”
response = requests.get(url_icon)
img = Image.open(BytesIO(response.content))
Hope this helps