fix: refact logic
This commit is contained in:
@@ -2,30 +2,36 @@
|
||||
name = "doc-processer"
|
||||
version = "0.1.0"
|
||||
description = "Document processing API - Image to LaTeX/Markdown/MathML and Markdown to DOCX"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
requires-python = ">=3.10"
|
||||
license = { text = "MIT" }
|
||||
authors = [
|
||||
{ name = "YogeLiu" }
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.32.0",
|
||||
"opencv-python>=4.10.0",
|
||||
"python-multipart>=0.0.12",
|
||||
"pydantic>=2.10.0",
|
||||
"pydantic-settings>=2.6.0",
|
||||
"httpx>=0.28.0",
|
||||
"numpy>=1.26.0",
|
||||
"pillow>=10.4.0",
|
||||
"python-docx>=1.1.0",
|
||||
"paddleocr>=2.9.0",
|
||||
"doclayout-yolo>=0.0.2",
|
||||
"latex2mathml>=3.77.0",
|
||||
"paddle>=1.2.0",
|
||||
"fastapi==0.128.0",
|
||||
"uvicorn[standard]==0.40.0",
|
||||
"opencv-python==4.12.0.88",
|
||||
"python-multipart==0.0.21",
|
||||
"pydantic==2.12.5",
|
||||
"pydantic-settings==2.12.0",
|
||||
"httpx==0.28.1",
|
||||
"numpy==2.2.6",
|
||||
"pillow==12.0.0",
|
||||
"python-docx==1.2.0",
|
||||
"paddleocr==3.3.2",
|
||||
"doclayout-yolo==0.0.4",
|
||||
"latex2mathml==3.78.1",
|
||||
"paddle==1.2.0",
|
||||
"pypandoc==1.16.2",
|
||||
"paddlepaddle",
|
||||
"paddleocr[doc-parser]",
|
||||
"safetensors"
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
paddlepaddle = { path = "wheels/paddlepaddle-3.4.0.dev20251224-cp310-cp310-linux_x86_64.whl" }
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0.0",
|
||||
|
||||
Reference in New Issue
Block a user