• myhloli's avatar
    refactor(magic_pdf): implement model singleton pattern for custom models · 054abe33
    myhloli authored
    Introduce a Singleton pattern to manage custom models in the magic_pdf module.
    This change improves the efficiency by ensuring that a single instance of the
    custom model is created and reused, thereby reducing the overhead of multiple
    instantiate calls for the same model configuration.
    054abe33
Name
Last commit
Last update
..
pek_sub_modules Loading commit data...
__init__.py Loading commit data...
doc_analyze_by_custom_model.py Loading commit data...
magic_model.py Loading commit data...
model_list.py Loading commit data...
pdf_extract_kit.py Loading commit data...
pp_structure_v2.py Loading commit data...