chore: fix linter

Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>
This commit is contained in:
Georg Heiler
2025-08-20 08:48:34 +02:00
parent 2892cb5abe
commit e23fb1a493

View File

@@ -42,7 +42,7 @@ class RapidOcrModel(BaseOcrModel):
if self.enabled: if self.enabled:
try: try:
from rapidocr import RapidOCR, EngineType # type: ignore from rapidocr import EngineType, RapidOCR # type: ignore
except ImportError: except ImportError:
raise ImportError( raise ImportError(
"RapidOCR is not installed. Please install it via `pip install rapidocr onnxruntime` to use this OCR engine. " "RapidOCR is not installed. Please install it via `pip install rapidocr onnxruntime` to use this OCR engine. "