[bug fix] Fix pdf2word in whl (#10585)

* add en doc

* fix dead link & test=document_fix

* fix dead link & test=document_fix

* update args default type & test=document_fix

* fix doc & test=document_fix

* fix pdf2word in whl
pull/7416/merge
andyj 2023-08-09 17:16:43 +08:00 committed by GitHub
parent df54a7b422
commit 1f47bca525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ def main():
logger.info('processing {}/{} page:'.format(index + 1,
len(img_paths)))
new_img_name = os.path.basename(new_img_path).split('.')[0]
result = engine(new_img_path, img_idx=index)
result = engine(img, img_idx=index)
save_structure_res(result, args.output, img_name, index)
if args.recovery and result != []: