Update utils.py
Browse files
utils.py
CHANGED
@@ -20,7 +20,7 @@ def input_pdf_setup(uploaded_file):
|
|
20 |
## Convert the PDF to image
|
21 |
images=pdf2image.convert_from_bytes(
|
22 |
uploaded_file.read(),
|
23 |
-
poppler_path= os.environ["PATH_POPPLER"]# for windows if resulting error
|
24 |
)
|
25 |
# first_page=images[0]
|
26 |
pdf_parts = []
|
|
|
20 |
## Convert the PDF to image
|
21 |
images=pdf2image.convert_from_bytes(
|
22 |
uploaded_file.read(),
|
23 |
+
# poppler_path= os.environ["PATH_POPPLER"]# for windows if resulting error
|
24 |
)
|
25 |
# first_page=images[0]
|
26 |
pdf_parts = []
|