adrianpierce commited on
Commit
64646c8
1 Parent(s): 4ddaa8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,6 +5,6 @@ from io import StringIO
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
 
 
5
  uploaded_file = st.file_uploader("Choose a file")
6
  if uploaded_file is not None:
7
 
8
+ extractedInformation = pytesseract.image_to_string(uploaded_file)
9
  st.write(extractedInformation)
10