Replace app.py
In the line 52 we should replace it by st.image(img, caption="Uploaded Image", use_container_width=True) it will make the image or element expand to the full width of the container it's inside.
In the line 52 we should replace it by st.image(img, caption="Uploaded Image", use_container_width=True) it will make the image or element expand to the full width of the container it's inside.