import streamlit as st from PIL import Image file = st.file_uploader("Por favor suba una imagen de ropa", type=['jpg','png','jpeg']) if file is not None: bytes_data = file.read() image = Image.open(file) st.markdown('
Image
',unsafe_allow_html=True) st.image(image,width=300)