Cachoups commited on
Commit
04fa692
·
verified ·
1 Parent(s): 0b9c07f

Update lib/read_pdf.py

Browse files
Files changed (1) hide show
  1. lib/read_pdf.py +1 -1
lib/read_pdf.py CHANGED
@@ -104,7 +104,7 @@ def extract_and_format_paragraphs(pdf_path):
104
  width = page.width
105
  height = page.height
106
 
107
- header_height = height * 0.08 # Adjust this value based on your PDF
108
  #footer_height = height * 0.1 # Adjust this value based on your PDF
109
 
110
  left_bbox = (0, header_height, width / 2, height) # Left column
 
104
  width = page.width
105
  height = page.height
106
 
107
+ header_height = height * 0.075 # Adjust this value based on your PDF
108
  #footer_height = height * 0.1 # Adjust this value based on your PDF
109
 
110
  left_bbox = (0, header_height, width / 2, height) # Left column