|
|
@@ -9,7 +9,7 @@ import sys
|
|
|
from pathlib import Path
|
|
|
|
|
|
# 添加 ocr_platform 根目录到 Python 路径(用于导入 ocr_utils)
|
|
|
-ocr_platform_root = Path(__file__).parents[3] # ocr_merger -> ocr_tools -> ocr_platform -> repository.git
|
|
|
+ocr_platform_root = Path(__file__).parents[2] # ocr_merger -> ocr_tools -> ocr_platform -> repository.git
|
|
|
if str(ocr_platform_root) not in sys.path:
|
|
|
sys.path.insert(0, str(ocr_platform_root))
|
|
|
|