LuckRafly commited on
Commit
2db9fa0
1 Parent(s): fc35719

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
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 = []