mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-19 01:28:13 +08:00
refactor(table): update default table model to Rapid Table
- Change the default table model from TABLE_MASTER to RAPID_TABLE
This commit is contained in:
@@ -92,7 +92,7 @@ def get_table_recog_config():
|
||||
table_config = config.get('table-config')
|
||||
if table_config is None:
|
||||
logger.warning(f"'table-config' not found in {CONFIG_FILE_NAME}, use 'False' as default")
|
||||
return json.loads(f'{{"model": "{MODEL_NAME.TABLE_MASTER}","enable": false, "max_time": 400}}')
|
||||
return json.loads(f'{{"model": "{MODEL_NAME.RAPID_TABLE}","enable": false, "max_time": 400}}')
|
||||
else:
|
||||
return table_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user