adrianpierce commited on
Commit
63107d9
·
1 Parent(s): 79a6f44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,7 +19,8 @@ if uploaded_file is not None:
19
 
20
 
21
  image = Image.open(uploaded_file)
22
- #st.image(image, caption='Sunrise by the mountains')
 
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