Merge pull request #7878 from andyjpaddle/fix_layout_recovery

fix whl for layout recovery
pull/7889/head
zhoujun 2022-10-11 18:13:10 +08:00 committed by GitHub
commit 34174d435b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

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(