Skip to content

Commit

Permalink
fix whl for layout recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjiang1116 committed Oct 11, 2022
1 parent b03ac29 commit b947dc3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions paddleocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b947dc3

Please sign in to comment.