Fix formatting

Signed-off-by: Christoph Auer <60343111+cau-git@users.noreply.github.com>
This commit is contained in:
Christoph Auer 2025-06-06 11:36:49 +02:00 committed by GitHub
parent 45b9ded576
commit 9eb05b54a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)