Update utils.py
Browse files
utils.py
CHANGED
|
@@ -22,7 +22,7 @@ def input_pdf_setup(uploaded_file):
|
|
| 22 |
path = Path("/home/user/app/poppler-23.11.0/Library/bin")
|
| 23 |
images=pdf2image.convert_from_bytes(
|
| 24 |
uploaded_file.read(),
|
| 25 |
-
poppler_path= path
|
| 26 |
)
|
| 27 |
# first_page=images[0]
|
| 28 |
pdf_parts = []
|
|
|
|
| 22 |
path = Path("/home/user/app/poppler-23.11.0/Library/bin")
|
| 23 |
images=pdf2image.convert_from_bytes(
|
| 24 |
uploaded_file.read(),
|
| 25 |
+
# poppler_path= path
|
| 26 |
)
|
| 27 |
# first_page=images[0]
|
| 28 |
pdf_parts = []
|