Fix docs parser (#1714)

### What problem does this PR solve?

#1711 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
H
2024-07-26 10:52:56 +08:00
committed by GitHub
parent 548f01850f
commit 79c873344b
3 changed files with 3 additions and 8 deletions

View File

@ -550,7 +550,7 @@ def concat_img(img1, img2):
def naive_merge_docx(sections, chunk_token_num=128, delimiter="\n。;!?"):
if not sections:
return []
return [], []
cks = [""]
images = [None]