Cachoups commited on
Commit
cf618bb
1 Parent(s): 5f421ac

Update lib/read_pdf.py

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