Guillaume Raille commited on
Commit
b601214
·
unverified ·
1 Parent(s): 90a0ba9

fix left / right margin

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. data/tinymoliere.txt +0 -0
  3. main.py +1 -1
README.md CHANGED
@@ -13,10 +13,10 @@ dataset_info:
13
  dtype: string
14
  splits:
15
  - name: train
16
- num_bytes: 2377914
17
  num_examples: 1
18
- download_size: 2377914
19
- dataset_size: 2377914
20
  configs:
21
  - config_name: default
22
  data_files:
 
13
  dtype: string
14
  splits:
15
  - name: train
16
+ num_bytes: 2387600
17
  num_examples: 1
18
+ download_size: 2387600
19
+ dataset_size: 2387600
20
  configs:
21
  - config_name: default
22
  data_files:
data/tinymoliere.txt CHANGED
The diff for this file is too large to render. See raw diff
 
main.py CHANGED
@@ -90,7 +90,7 @@ def main():
90
  # compute a clip to remove headers / footers on every pages
91
  rect = doc[0].bound()
92
  new_rect = pymupdf.Rect(
93
- rect.x0 + 60, rect.y0 + 60, rect.x1 - 60, rect.y1 - 60
94
  )
95
 
96
  # we ignore the last page
 
90
  # compute a clip to remove headers / footers on every pages
91
  rect = doc[0].bound()
92
  new_rect = pymupdf.Rect(
93
+ rect.x0, rect.y0 + 60, rect.x1, rect.y1 - 60
94
  )
95
 
96
  # we ignore the last page