mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 21:40:52 +08:00
fix: fixed import_lib paddlepaddle
This commit is contained in:
1 parent
57f1ceb9bd
commit
f3a2c793f0
1 file changed
+1
-1
@@ -46,7 +46,7 @@ def get_engine(engine_name: str):
|
||||
return OpenVINOInferSession
|
||||
|
||||
if engine_name == Engine.PADDLE.value:
|
||||
if not import_package("paddlepaddle"):
|
||||
if not import_package("paddle"):
|
||||
raise ImportError("paddleopaddle is not installed")
|
||||
|
||||
from .paddlepaddle import PaddleInferSession
|
||||
|
||||
Reference in new issue
Block a user