• 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
.github Loading commit data...
demo Loading commit data...
docs Loading commit data...
magic_pdf Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
README_zh-CN.md Loading commit data...
magic-pdf.template.json Loading commit data...
requirements-qa.txt Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
update_version.py Loading commit data...