Spaces:
Paused
Paused
Don't apply failure detection heuristic.
Browse filesAdd '--no-skipping' flag to avoid missing pages
app.py
CHANGED
@@ -31,6 +31,7 @@ def nougat_ocr(file_name):
|
|
31 |
'nougat',
|
32 |
#'--out', unique_filename,
|
33 |
'--out', 'output',
|
|
|
34 |
'pdf', f'{file_name}',
|
35 |
'--checkpoint', 'nougat',
|
36 |
'--markdown'
|
|
|
31 |
'nougat',
|
32 |
#'--out', unique_filename,
|
33 |
'--out', 'output',
|
34 |
+
'--no-skipping',
|
35 |
'pdf', f'{file_name}',
|
36 |
'--checkpoint', 'nougat',
|
37 |
'--markdown'
|