Files
MinerU/magic_pdf/model/__init__.py
myhloli 695b357994 feat(config-reader): add models-dir and device-mode configurations
Add new configuration options for custom model directories and device modeselection. This allows users to specify the directory where models are stored
and choose between CPU and GPU modes for model inference. The configurations
are read from a JSON file and can be easily extended to support additional
options in the future.
2024-07-12 13:02:54 +08:00

3 lines
52 B
Python

__use_inside_model__ = True
__model_mode__ = "full"