Commit 69edbd64 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update common.py

parent 6db208d5
......@@ -40,6 +40,7 @@ def remove_empty_lines_from_file(file_path):
file.writelines(non_empty_lines)
def do_parse(
ocr_status,
config_path,
output_dir,
pdf_file_name,
......@@ -102,7 +103,7 @@ def do_parse(
pdf_info = pipe.pdf_mid_data['pdf_info']
if f_draw_layout_bbox:
draw_layout_bbox(pdf_info, pdf_bytes, local_md_dir, pdf_file_name)
md_content = pipe.pipe_mk_markdown(config_path,local_image_dir,
md_content = pipe.pipe_mk_markdown(ocr_status,config_path,local_image_dir,
drop_mode=DropMode.NONE,
md_make_mode=f_make_md_mode)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment