Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,10 @@ def parse_pdf(doc_path, output_dir, end_page_id, is_ocr, layout_mode, formula_en
|
|
68 |
formula_enable=formula_enable,
|
69 |
table_enable=table_enable,
|
70 |
lang=language,
|
|
|
|
|
|
|
|
|
71 |
)
|
72 |
return local_md_dir, file_name
|
73 |
except Exception as e:
|
|
|
68 |
formula_enable=formula_enable,
|
69 |
table_enable=table_enable,
|
70 |
lang=language,
|
71 |
+
f_draw_span_bbox=False,
|
72 |
+
f_dump_orig_pdf=False,
|
73 |
+
f_dump_model_json=False,
|
74 |
+
f_dump_middle_json=False,
|
75 |
)
|
76 |
return local_md_dir, file_name
|
77 |
except Exception as e:
|