Commit 8dca2105 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update UNIPipe.py

parent 2e897e02
......@@ -52,11 +52,11 @@ class UNIPipe(AbsPipe):
logger.info("uni_pipe mk content list finished")
return result
def pipe_mk_markdown(self,config_path, img_parent_path: str, drop_mode=DropMode.WHOLE_PDF, md_make_mode=MakeMode.MM_MD):
def pipe_mk_markdown(self,ocr_status,config_path, img_parent_path: str, drop_mode=DropMode.WHOLE_PDF, md_make_mode=MakeMode.MM_MD):
# logger.info(f'img_parent_path:\n{img_parent_path}')
# logger.info(f'drop_mode:\n{drop_mode}')
# logger.info(f'md_make_mode:\n{md_make_mode}')
result = super().pipe_mk_markdown(config_path,img_parent_path, drop_mode, md_make_mode)
result = super().pipe_mk_markdown(ocr_status,config_path,img_parent_path, drop_mode, md_make_mode)
# logger.info(f"uni_pipe mk {md_make_mode} finished")
return result
......
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