raphael-blanchard's picture
Update app.py
1d7d2d0
Raw
History Blame Contribute Delete
326 Bytes
import streamlit as st
import cv2
import numpy as np
from PIL import Image
import base64
st.write("Upload an image and this app will display it back.")
user_image_object = st.file_uploader("upload your image", type=['png', 'jpg'], accept_multiple_files=False)
if user_image_object is not None:
st.image(user_image_object )