Spaces:
Runtime error
Runtime error
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('<p style="text-align: center;">Image</p>',unsafe_allow_html=True) | |
st.image(image,width=300) | |