ajitrajasekharan commited on
Commit
5137c86
·
1 Parent(s): 790f898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -2,6 +2,10 @@ import PIL
2
  from PIL import ImageDraw
3
  import streamlit as st
4
 
 
 
 
 
5
 
6
  uploaded_file = st.file_uploader("Upload Files",type=['png','jpeg'])
7
  if uploaded_file is not None:
 
2
  from PIL import ImageDraw
3
  import streamlit as st
4
 
5
+ def load_image(image_file):
6
+ img = PIL.Image.open(image_file)
7
+ return img
8
+
9
 
10
  uploaded_file = st.file_uploader("Upload Files",type=['png','jpeg'])
11
  if uploaded_file is not None: