mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 15:02:21 +00:00
revert blacklist
This commit is contained in:
parent
c687757c7c
commit
eec896631e
@ -73,8 +73,6 @@ class LayoutModel(BasePageModel):
|
|||||||
artifact_path=str(artifacts_path),
|
artifact_path=str(artifacts_path),
|
||||||
device=device,
|
device=device,
|
||||||
num_threads=accelerator_options.num_threads,
|
num_threads=accelerator_options.num_threads,
|
||||||
base_threshold=0.6,
|
|
||||||
blacklist_classes={"Form", "Key-Value Region", "Picture"}, # Use this to disable picture recognition (trying to force to identify only text)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user