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() col1, col2, col3 = st.beta_columns([1,6,1]) with col1: st.write("") with col2: image = Image.open(file) st.markdown('
Image
',unsafe_allow_html=True) st.image(image,width=300) with col3: st.write("")