fix whl for layout recovery

This commit is contained in:
andyjpaddle 2022-10-11 08:42:47 +00:00
parent b03ac29272
commit b947dc3fb3

View File

@ -698,8 +698,7 @@ def main():
if args.recovery and all_res != []:
try:
from ppstructure.recovery.recovery_to_doc import convert_info_docx
convert_info_docx(img, all_res, args.output, img_name,
args.save_pdf)
convert_info_docx(img, all_res, args.output, img_name)
except Exception as ex:
logger.error(
"error in layout recovery image:{}, err msg: {}".format(