AItool commited on
Commit
21a622c
Β·
verified Β·
1 Parent(s): 4e9aadf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -46,6 +46,7 @@ with tab1:
46
  img = Image.open(BytesIO(response.content))
47
  st.image(input_image) #display image
48
  img.load()
 
49
 
50
  with st.spinner("πŸ”„ OCR in process."):
51
  result = reader.readtext(np.array(img))
@@ -67,6 +68,7 @@ with tab2:
67
  if uploaded_file is not None:
68
  img = Image.open(uploaded_file)
69
  img.load()
 
70
 
71
  with st.spinner("πŸ”„ OCR in process."):
72
  result = reader.readtext(np.array(img))
 
46
  img = Image.open(BytesIO(response.content))
47
  st.image(input_image) #display image
48
  img.load()
49
+ st.image(img) #display image
50
 
51
  with st.spinner("πŸ”„ OCR in process."):
52
  result = reader.readtext(np.array(img))
 
68
  if uploaded_file is not None:
69
  img = Image.open(uploaded_file)
70
  img.load()
71
+ st.image(img) #display image
72
 
73
  with st.spinner("πŸ”„ OCR in process."):
74
  result = reader.readtext(np.array(img))