Mishmosh commited on
Commit
c63b278
·
1 Parent(s): 208b94d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -57,7 +57,8 @@ from PIL import Image
57
  from pdf2image import convert_from_path
58
  import pytesseract
59
  import os
60
- pdf_path="received_pdf.pdf"
 
61
  def text_extraction(element):
62
  # Extracting the text from the in-line text element
63
  line_text = element.get_text()
 
57
  from pdf2image import convert_from_path
58
  import pytesseract
59
  import os
60
+ #pdf_path="received_pdf.pdf"
61
+ pdf_path=pdf_content
62
  def text_extraction(element):
63
  # Extracting the text from the in-line text element
64
  line_text = element.get_text()