proyecto-final / app.py
lfernandopg's picture
Update app.py
9e7100a
raw
history blame
339 Bytes
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)