Spaces:
Sleeping
Sleeping
Commit
·
4ddaa8e
1
Parent(s):
4387ac2
Create app.py
Browse files
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 |
+
|