소스 검색

fix: correct root directory path in pytorch_paddle.py

myhloli 2 주 전
부모
커밋
51726f7ac4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mineru/model/ocr/pytorch_paddle.py

+ 1 - 1
mineru/model/ocr/pytorch_paddle.py

@@ -134,7 +134,7 @@ def get_model_params(lang, config):
         raise Exception (f'Language {lang} not supported')
 
 
-root_dir = os.path.join(Path(__file__).resolve().parent.parent.parent, 'utils')
+root_dir = os.path.join(Path(__file__).resolve().parent.parent, 'utils')
 
 
 class PytorchPaddleOCR(TextSystem):