ValakiJay1706 commited on
Commit
ad0ecc7
·
verified ·
1 Parent(s): 774fb46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def display_info():
157
  # page = doc.load_page(page_num)
158
  # text += page.get_text()
159
  # return text
160
- subprocess.run(["git", "clone", "https://github.com/tesseract-ocr/tesseract.git"])
161
  def get_pdf_text(pdf_file):
162
  doc = fitz.open(stream=pdf_file.read(), filetype="pdf")
163
  text = ""
 
157
  # page = doc.load_page(page_num)
158
  # text += page.get_text()
159
  # return text
160
+ # subprocess.run(["git", "clone", "https://github.com/tesseract-ocr/tesseract.git"])
161
  def get_pdf_text(pdf_file):
162
  doc = fitz.open(stream=pdf_file.read(), filetype="pdf")
163
  text = ""