Skip to content

Commit

Permalink
Updated to docling-ibm-models v2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Lysak <[email protected]>
  • Loading branch information
Maxim Lysak committed Oct 3, 2024
1 parent 5d5e3ed commit 65ed754
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion docling/document_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ def download_models_hf(
from huggingface_hub import snapshot_download

download_path = snapshot_download(
repo_id="ds4sd/docling-models", force_download=force, local_dir=local_dir
repo_id="ds4sd/docling-models",
force_download=force,
local_dir=local_dir,
revision="v2.0.0",
)

return Path(download_path)
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ torchvision = [
python = "^3.10"
pydantic = "^2.0.0"
docling-core = "^1.6.2"
docling-ibm-models = "^1.4.0"
docling-ibm-models = "^2.0.0"
deepsearch-glm = "^0.22.0"
filetype = "^1.2.0"
pypdfium2 = "^4.30.0"
Expand Down

0 comments on commit 65ed754

Please sign in to comment.