Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于utils.py文件问题 #6

Open
liqiangseng opened this issue Dec 6, 2024 · 0 comments
Open

关于utils.py文件问题 #6

liqiangseng opened this issue Dec 6, 2024 · 0 comments

Comments

@liqiangseng
Copy link

utils.py文件,将长文本分割成若干块有点问题啊,curr_chunk = curr_chunk[-cover_content:] + line,当cover_content=0时,块的内容在添加时未正确清理,而是将前一块的末尾内容不断附加到当前块的开头。所有块的大小会越来越大。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant