mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
Update to latest HF models
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
dd8a0e9e44
commit
a8cada3694
@ -35,7 +35,7 @@ _log = logging.getLogger(__name__)
|
||||
|
||||
layout_label_to_ds_type = {
|
||||
"Title": "title",
|
||||
"Document Index": "table-of-contents",
|
||||
"Document Index": "table", # table-of-contents",
|
||||
"Section-header": "subtitle-level-1",
|
||||
"Checkbox-Selected": "checkbox-selected",
|
||||
"Checkbox-Unselected": "checkbox-unselected",
|
||||
|
@ -70,7 +70,7 @@ class DocumentConverter:
|
||||
repo_id="ds4sd/docling-models",
|
||||
force_download=force,
|
||||
local_dir=local_dir,
|
||||
revision="v2.0.0",
|
||||
revision="v2.0.1",
|
||||
)
|
||||
|
||||
return Path(download_path)
|
||||
|
Loading…
Reference in New Issue
Block a user