将docling设为动态导入

This commit is contained in:
xunbu
2025-05-21 10:24:32 +08:00
parent a49b7c40e3
commit c29ea337e0
13 changed files with 361 additions and 331 deletions

View File

@@ -5,10 +5,10 @@ description = "文件翻译工具"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"docling>=2.31.0",
"httpx",
"markdown2",
"fastapi[standard]>=0.115.12"
"fastapi[standard]>=0.115.12",
"docling>=2.33.0",
]
[project.scripts]
docutranslate = "docutranslate.cli:main"