diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a36cdd2..b11d8ec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.3 + +* setting longest_edge=1333 to the table image processor + ## 1.0.2 * adding parameter to table image preprocessor related to the image size diff --git a/unstructured_inference/__version__.py b/unstructured_inference/__version__.py index 86fbd395..6520c47e 100644 --- a/unstructured_inference/__version__.py +++ b/unstructured_inference/__version__.py @@ -1 +1 @@ -__version__ = "1.0.2" # pragma: no cover +__version__ = "1.0.3" # pragma: no cover diff --git a/unstructured_inference/models/tables.py b/unstructured_inference/models/tables.py index b9a01226..45c98017 100644 --- a/unstructured_inference/models/tables.py +++ b/unstructured_inference/models/tables.py @@ -65,6 +65,7 @@ def initialize( # value not set in the configuration and needed for newer models # https://huggingface.co/microsoft/table-transformer-structure-recognition-v1.1-all/discussions/1 self.feature_extractor.size["shortest_edge"] = 800 + self.feature_extractor.size["longest_edge"] = 1333 try: logger.info("Loading the table structure model ...")