ajitrajasekharan's picture
Update app.py
b101525
raw
history blame
217 Bytes
import PIL
from PIL import ImageDraw
import streamlit as st
uploaded_file = st.file_uploader("text here", type="file_type")
image = PIL.Image.open(uploaded_file)
st.image(image, caption='Uploaded Image.')