ソースを参照

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
myhloli 7 ヶ月 前
コミット
86058278b7

+ 1 - 1
README.md

@@ -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
     }

+ 2 - 2
README_zh-CN.md

@@ -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
     }

+ 2 - 1
docker/ascend_npu/requirements.txt

@@ -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

+ 2 - 1
docker/china/requirements.txt

@@ -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

+ 2 - 1
docker/global/requirements.txt

@@ -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