ajitrajasekharan commited on
Commit
0fab17f
·
1 Parent(s): 94b29b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,7 +12,8 @@ uploaded_file = st.file_uploader("Upload Files",type=['png','jpeg'])
12
  if uploaded_file is not None:
13
  file_details = {"FileName":uploaded_file.name,"FileType":uploaded_file.type,"FileSize":uploaded_file.size}
14
  st.write(file_details)
15
- st.image(load_image(uploaded_file),width=250)
 
16
  reader = easyocr.Reader(['en'])
17
  bound = reader.readtext(img)
18
  st.write(str(bound))
 
12
  if uploaded_file is not None:
13
  file_details = {"FileName":uploaded_file.name,"FileType":uploaded_file.type,"FileSize":uploaded_file.size}
14
  st.write(file_details)
15
+ img = load_image(uploaded_file)
16
+ st.image(img,width=250)
17
  reader = easyocr.Reader(['en'])
18
  bound = reader.readtext(img)
19
  st.write(str(bound))