neerajkalyank commited on
Commit
d4f07d5
1 Parent(s): 46a7f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import re
7
  from PIL import Image
8
  import tempfile
9
 
10
- # Specify the Tesseract executable path (optional if Tesseract is in PATH)
11
  pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
12
 
13
  def extract_data_from_pdf(pdf_file):
 
7
  from PIL import Image
8
  import tempfile
9
 
10
+ # Explicitly set the Tesseract path
11
  pytesseract.pytesseract.tesseract_cmd = "/usr/bin/tesseract"
12
 
13
  def extract_data_from_pdf(pdf_file):