revert blacklist

This commit is contained in:
João 2025-02-25 10:05:56 -03:00
parent c687757c7c
commit eec896631e

View File

@ -73,8 +73,6 @@ class LayoutModel(BasePageModel):
artifact_path=str(artifacts_path),
device=device,
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