refactor(magic_pdf): optimize model loading and support list file input
Improve the model loading mechanism in magic_pdf by implementing a Singleton pattern to reduce redundant model instantiation. Additionally, enhance the command-line interface to support input from list files, allowing batch processing of multiple PDF documents.
Showing
Please register or sign in to comment