Explorar o código

fix: correct root directory path in pytorch_paddle.py

myhloli hai 2 semanas
pai
achega
51726f7ac4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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):