adrianpierce commited on
Commit
4ddaa8e
·
1 Parent(s): 4387ac2

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import pytesseract
3
+ from io import StringIO
4
+
5
+ uploaded_file = st.file_uploader("Choose a file")
6
+ if uploaded_file is not None:
7
+
8
+ extractedInformation = pytesseract.image_to_string(Image.open(path))
9
+ st.write(extractedInformation)
10
+