修复token计数失败导致中断的问题

This commit is contained in:
xunbu
2025-09-23 23:21:47 +08:00
parent 612d4de26a
commit 75e85e9639
2 changed files with 36 additions and 32 deletions

View File

@@ -26,12 +26,14 @@ dynamic = ["version"]
docling = [
"opencv-python>=4.11.0.86",
"docling>=2.40.0",
"hf-xet>=1.1.10"
]
[dependency-groups]
dev = [
"opencv-python>=4.11.0.86",
"docling>=2.40.0",
"hf-xet>=1.1.10"
]
[project.scripts]
docutranslate = "docutranslate.cli:main"