docs(README): update model config examples and add tqdm dependency

- Remove outdated comments in table-config examples
- Add tqdm to requirements in all Docker environments
This commit is contained in:
myhloli
2025-04-03 12:18:04 +08:00
parent 8e1c23393c
commit 86058278b7
5 changed files with 9 additions and 6 deletions

View File

@@ -307,7 +307,7 @@ You can modify certain configurations in this file to enable or disable features
},
"table-config": {
"model": "rapid_table",
"sub_model": "slanet_plus", // When the model is "rapid_table", you can choose a sub_model. The options are "slanet_plus" and "unitable"
"sub_model": "slanet_plus",
"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
}

View File

@@ -310,8 +310,8 @@ pip install -U "magic-pdf[full]" -i https://mirrors.aliyun.com/pypi/simple
"enable": true // 公式识别功能默认是开启的,如果需要关闭请修改此处的值为"false"
},
"table-config": {
"model": "rapid_table",
"sub_model": "slanet_plus", // 当model为"rapid_table"时可以自选sub_model可选项为"slanet_plus"和"unitable"
"model": "rapid_table",
"sub_model": "slanet_plus",
"enable": true, // 表格识别功能默认是开启的,如果需要关闭请修改此处的值为"false"
"max_time": 400
}

View File

@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1
ftfy
openai
pydantic>=2.7.2,<2.11
transformers>=4.49.0,<5.0.0
transformers>=4.49.0,<5.0.0
tqdm>=4.67.1

View File

@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1
ftfy
openai
pydantic>=2.7.2,<2.11
transformers>=4.49.0,<5.0.0
transformers>=4.49.0,<5.0.0
tqdm>=4.67.1

View File

@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1
ftfy
openai
pydantic>=2.7.2,<2.11
transformers>=4.49.0,<5.0.0
transformers>=4.49.0,<5.0.0
tqdm>=4.67.1