Skip to content

Commit 5bd8d92

Browse files
committed
Revert ocr/service.py to develop branch version
This file was accidentally modified during merge, introducing duplicate code. Reverting to avoid conflicts and maintain clean codebase.
1 parent c878a79 commit 5bd8d92

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/idp_common_pkg/idp_common/ocr/service.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,6 @@ def __init__(
313313
# Initialize document converter for non-PDF formats
314314
self.document_converter = DocumentConverter(dpi=self.dpi or 150)
315315

316-
# Initialize document converter for non-PDF formats
317-
self.document_converter = DocumentConverter(dpi=self.dpi or 150)
318-
319316
def process_document(self, document: Document) -> Document:
320317
"""
321318
Process a document with OCR and update the Document model.

0 commit comments

Comments
 (0)