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)