Commit 86058278 authored by myhloli's avatar myhloli
Browse files

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
parent 8e1c2339
...@@ -307,7 +307,7 @@ You can modify certain configurations in this file to enable or disable features ...@@ -307,7 +307,7 @@ You can modify certain configurations in this file to enable or disable features
}, },
"table-config": { "table-config": {
"model": "rapid_table", "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". "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 "max_time": 400
} }
......
...@@ -310,8 +310,8 @@ pip install -U "magic-pdf[full]" -i https://mirrors.aliyun.com/pypi/simple ...@@ -310,8 +310,8 @@ pip install -U "magic-pdf[full]" -i https://mirrors.aliyun.com/pypi/simple
"enable": true // 公式识别功能默认是开启的,如果需要关闭请修改此处的值为"false" "enable": true // 公式识别功能默认是开启的,如果需要关闭请修改此处的值为"false"
}, },
"table-config": { "table-config": {
"model": "rapid_table", "model": "rapid_table",
"sub_model": "slanet_plus", // 当model为"rapid_table"时,可以自选sub_model,可选项为"slanet_plus""unitable" "sub_model": "slanet_plus",
"enable": true, // 表格识别功能默认是开启的,如果需要关闭请修改此处的值为"false" "enable": true, // 表格识别功能默认是开启的,如果需要关闭请修改此处的值为"false"
"max_time": 400 "max_time": 400
} }
......
...@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1 ...@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1
ftfy ftfy
openai openai
pydantic>=2.7.2,<2.11 pydantic>=2.7.2,<2.11
transformers>=4.49.0,<5.0.0 transformers>=4.49.0,<5.0.0
\ No newline at end of file tqdm>=4.67.1
\ No newline at end of file
...@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1 ...@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1
ftfy ftfy
openai openai
pydantic>=2.7.2,<2.11 pydantic>=2.7.2,<2.11
transformers>=4.49.0,<5.0.0 transformers>=4.49.0,<5.0.0
\ No newline at end of file tqdm>=4.67.1
\ No newline at end of file
...@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1 ...@@ -16,4 +16,5 @@ doclayout-yolo==0.0.2b1
ftfy ftfy
openai openai
pydantic>=2.7.2,<2.11 pydantic>=2.7.2,<2.11
transformers>=4.49.0,<5.0.0 transformers>=4.49.0,<5.0.0
\ No newline at end of file tqdm>=4.67.1
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment