mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
Merge pull request #1613 from opendatalab/dev
feat(table-config): add sub_model configuration for rapid_table
This commit is contained in:
@@ -278,6 +278,7 @@ You can modify certain configurations in this file to enable or disable features
|
||||
},
|
||||
"table-config": {
|
||||
"model": "rapid_table", // Default to using "rapid_table", can be switched to "tablemaster" or "struct_eqtable".
|
||||
"sub_model": "slanet_plus", // When the model is "rapid_table", you can choose a sub_model. The options are "slanet_plus" and "unitable"
|
||||
"enable": true, // The table recognition feature is enabled by default. If you need to disable it, please change the value here to "false".
|
||||
"max_time": 400
|
||||
}
|
||||
|
||||
@@ -282,6 +282,7 @@ pip install -U "magic-pdf[full]" --extra-index-url https://wheels.myhloli.com -i
|
||||
},
|
||||
"table-config": {
|
||||
"model": "rapid_table", // 默认使用"rapid_table",可以切换为"tablemaster"和"struct_eqtable"
|
||||
"sub_model": "slanet_plus", // 当model为"rapid_table"时,可以自选sub_model,可选项为"slanet_plus"和"unitable"
|
||||
"enable": true, // 表格识别功能默认是开启的,如果需要关闭请修改此处的值为"false"
|
||||
"max_time": 400
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user