fix(docreader): update paddle version

This commit is contained in:
begoniezhao
2025-09-09 19:12:33 +08:00
parent 7efa173812
commit 3f8a1d20c1
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ urllib3
markdownify
mistletoe
goose3[all]
paddleocr==3.0.0
paddleocr==3.2.0
markdown
pypdf
cos-python-sdk-v5
@@ -25,7 +25,7 @@ ollama
pdfplumber
--extra-index-url https://www.paddlepaddle.org.cn/packages/stable/cpu/
paddlepaddle==3.0.0
paddlepaddle==3.2.0
# --extra-index-url https://www.paddlepaddle.org.cn/packages/stable/cu126/
# paddlepaddle-gpu==3.0.0
@@ -54,6 +54,7 @@ class DocParser(BaseParser):
enable_multimodal=self.enable_multimodal,
chunk_size=self.chunk_size,
chunk_overlap=self.chunk_overlap,
chunking_config=self.chunking_config,
separators=self.separators,
)
text = docx_parser.parse_into_text(docx_content)