提交 b947dc3f 编写于 作者: A andyjpaddle

fix whl for layout recovery

上级 b03ac292
...@@ -698,8 +698,7 @@ def main(): ...@@ -698,8 +698,7 @@ def main():
if args.recovery and all_res != []: if args.recovery and all_res != []:
try: try:
from ppstructure.recovery.recovery_to_doc import convert_info_docx from ppstructure.recovery.recovery_to_doc import convert_info_docx
convert_info_docx(img, all_res, args.output, img_name, convert_info_docx(img, all_res, args.output, img_name)
args.save_pdf)
except Exception as ex: except Exception as ex:
logger.error( logger.error(
"error in layout recovery image:{}, err msg: {}".format( "error in layout recovery image:{}, err msg: {}".format(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册