Spaces:
Sleeping
Sleeping
Commit
·
63107d9
1
Parent(s):
79a6f44
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,8 @@ if uploaded_file is not None:
|
|
19 |
|
20 |
|
21 |
image = Image.open(uploaded_file)
|
22 |
-
|
|
|
23 |
extractedInformation = pytesseract.image_to_string(image)
|
24 |
st.write(extractedInformation)
|
25 |
|
|
|
19 |
|
20 |
|
21 |
image = Image.open(uploaded_file)
|
22 |
+
with st.expander('Preview uploaded image', expanded=False):
|
23 |
+
st.image(image)
|
24 |
extractedInformation = pytesseract.image_to_string(image)
|
25 |
st.write(extractedInformation)
|
26 |
|