mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
chore: fix linter
Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ class RapidOcrModel(BaseOcrModel):
|
||||
|
||||
if self.enabled:
|
||||
try:
|
||||
from rapidocr import RapidOCR, EngineType # type: ignore
|
||||
from rapidocr import EngineType, RapidOCR # type: ignore
|
||||
except ImportError:
|
||||
raise ImportError(
|
||||
"RapidOCR is not installed. Please install it via `pip install rapidocr onnxruntime` to use this OCR engine. "
|
||||
|
||||
Reference in New Issue
Block a user