更新版本号

This commit is contained in:
xunbu
2025-08-09 22:27:18 +08:00
parent 9775bf479b
commit 8146daaa10
2 changed files with 11 additions and 5 deletions

View File

@@ -1 +1 @@
__version__="1.1.0"
__version__="1.1.1"

View File

@@ -1,5 +1,11 @@
from docling.pipeline.standard_pdf_pipeline import StandardPdfPipeline
# from docling.pipeline.standard_pdf_pipeline import StandardPdfPipeline
import docling.utils.model_downloader
def get_docling_artifacts():
path = StandardPdfPipeline.download_models_hf()
# path = StandardPdfPipeline.download_models_hf()
path=docling.utils.model_downloader.download_models()
print(f"docling模型包已经下载到{path.resolve()}")
return path
#
if __name__ == '__main__':
get_docling_artifacts()