From eec896631ee37036dcb70877bf013e8e4edfb027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o?= Date: Tue, 25 Feb 2025 10:05:56 -0300 Subject: [PATCH] revert blacklist --- docling/models/layout_model.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/docling/models/layout_model.py b/docling/models/layout_model.py index de1c72f8..b3cbd954 100644 --- a/docling/models/layout_model.py +++ b/docling/models/layout_model.py @@ -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