Просмотр исходного кода

fix(pipeline_manager): update import path for PDFUtils module

- Changed the import statement for PDFUtils to reference the ocr_utils module, ensuring correct module usage in the pipeline manager.
- This adjustment improves code clarity and maintains consistency in module imports.
zhch158_admin 4 часов назад
Родитель
Сommit
de156eaf26

+ 1 - 1
ocr_tools/universal_doc_parser/core/pipeline_manager_v2_streaming.py

@@ -28,7 +28,7 @@ if str(module_root) not in sys.path:
 
 # 导入基础类(复用现有实现)
 from .pipeline_manager_v2 import EnhancedDocPipeline
-from .pdf_utils import PDFUtils
+from ocr_utils import PDFUtils
 
 # 从 ocr_utils 导入输出格式化器
 try: