소스 검색

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 6 시간 전
부모
커밋
de156eaf26
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ocr_tools/universal_doc_parser/core/pipeline_manager_v2_streaming.py

+ 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: