From 9eb05b54a818ee949f7a6be1415030ea939f35f6 Mon Sep 17 00:00:00 2001 From: Christoph Auer <60343111+cau-git@users.noreply.github.com> Date: Fri, 6 Jun 2025 11:36:49 +0200 Subject: [PATCH] Fix formatting Signed-off-by: Christoph Auer <60343111+cau-git@users.noreply.github.com> --- docling/models/tesseract_ocr_cli_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docling/models/tesseract_ocr_cli_model.py b/docling/models/tesseract_ocr_cli_model.py index 75af0301..675dc392 100644 --- a/docling/models/tesseract_ocr_cli_model.py +++ b/docling/models/tesseract_ocr_cli_model.py @@ -231,7 +231,7 @@ class TesseractOcrCliModel(BaseOcrModel): fname = image_file.name high_res_image.save(image_file) doc_orientation = 0 - df_osd=None + df_osd = None try: df_osd = self._perform_osd(fname) doc_orientation = _parse_orientation(df_osd)