Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Commit
•
d4f07d5
1
Parent(s):
46a7f69
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import re
|
|
7 |
from PIL import Image
|
8 |
import tempfile
|
9 |
|
10 |
-
#
|
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):
|