diff --git a/magic_pdf/libs/config_reader.py b/magic_pdf/libs/config_reader.py index 5e1a300d..b1126b64 100644 --- a/magic_pdf/libs/config_reader.py +++ b/magic_pdf/libs/config_reader.py @@ -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