Browse Source

commit: add models package init file

hankal 1 tháng trước cách đây
mục cha
commit
11c86c3b84
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      ocr_tools/universal_doc_parser/models/__init__.py

+ 3 - 0
ocr_tools/universal_doc_parser/models/__init__.py

@@ -1,2 +1,5 @@
 # Models module for universal_doc_parser
 # This file makes `models/` a Python package, enabling imports like `from models.adapters import ...`
+# models 包初始化
+# 此文件确保 models 作为常规 Python 包被识别
+# (在 Python 3.3+ 中 namespace package 也可以工作,但显式 __init__.py 更稳健)