-
Xiaomeng Zhao authored
Refactor the pdf_extract_kit module to utilize a singleton pattern when initializing atomic models. This change ensures that atomic models are instantiated at most once, optimizing memory usage and reducing redundant initialization steps. The AtomModelSingleton class now manages the instantiation and retrieval of atomic models, improving the overall structure and efficiency of the codebase.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
dict2md | ||
filter | ||
integrations | ||
layout | ||
libs | ||
model | ||
para | ||
pipe | ||
post_proc | ||
pre_proc | ||
resources | ||
rw | ||
spark | ||
tools | ||
__init__.py | ||
pdf_parse_by_ocr.py | ||
pdf_parse_by_txt.py | ||
pdf_parse_union_core.py | ||
user_api.py |