Soumen commited on
Commit
72d5454
·
1 Parent(s): 6fe4e2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def main():
130
  #image_result.write(file)
131
  text = read_pdf(uploaded_photo)
132
  #text = pytesseract.image_to_string(img, lang="ben") if st.checkbox("Mark to see Bangla Image's Text") else pytesseract.image_to_string(img)
133
- st.success(text)
134
  elif uploaded_photo.type != "application/image":
135
  img = Image.open(uploaded_photo)
136
  img = img.save("img.png")
 
130
  #image_result.write(file)
131
  text = read_pdf(uploaded_photo)
132
  #text = pytesseract.image_to_string(img, lang="ben") if st.checkbox("Mark to see Bangla Image's Text") else pytesseract.image_to_string(img)
133
+ st.success("Your PDF File IS UPLOADED!")
134
  elif uploaded_photo.type != "application/image":
135
  img = Image.open(uploaded_photo)
136
  img = img.save("img.png")