Spaces:
Running
Running
robertselvam
commited on
Commit
•
8ad0141
1
Parent(s):
3e89bbb
Update pdftojson.py
Browse files- pdftojson.py +1 -1
pdftojson.py
CHANGED
@@ -57,7 +57,7 @@ class PdftoJson:
|
|
57 |
"""
|
58 |
try:
|
59 |
|
60 |
-
|
61 |
# Open the PDF file in binary read mode
|
62 |
with open(pdf_path, "rb") as pdf_file:
|
63 |
# Create a PDF reader object
|
|
|
57 |
"""
|
58 |
try:
|
59 |
|
60 |
+
pdf_path = pdf_path.name
|
61 |
# Open the PDF file in binary read mode
|
62 |
with open(pdf_path, "rb") as pdf_file:
|
63 |
# Create a PDF reader object
|