mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-10-31 03:43:25 +08:00
- Add function to get local LayoutReader model directory- Check and use local model directory if available - Fall back to online model if local directory not found - Update model initialization to support local path - Refactor model loading in singleton class
14 lines
360 B
JSON
14 lines
360 B
JSON
{
|
|
"bucket_info":{
|
|
"bucket-name-1":["ak", "sk", "endpoint"],
|
|
"bucket-name-2":["ak", "sk", "endpoint"]
|
|
},
|
|
"models-dir":"/tmp/models",
|
|
"layoutreader-model-dir":"/tmp/layoutreader",
|
|
"device-mode":"cpu",
|
|
"table-config": {
|
|
"model": "TableMaster",
|
|
"is_table_recog_enable": false,
|
|
"max_time": 400
|
|
}
|
|
} |