Skip to content

Commit 0c24c1c

Browse files
authored
Update document-processing.md
1 parent ee7b149 commit 0c24c1c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/latest/advanced/document-processing.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ docker compose up -d api
2121

2222
### 2. 高精度 OCR (MinerU)
2323

24-
需要配置
24+
需要在 `.env` 文件中配置
2525

2626
```bash
2727
MINERU_VL_SERVER=http://localhost:30000
@@ -40,17 +40,17 @@ docker compose up -d api
4040

4141
### 3. 官方云服务 (MinerU Official)
4242

43-
4443
API 密钥可以从 [MinerU 官网](https://mineru.net) 申请。
4544

45+
然后在 `.env` 文件中添加
46+
4647
```bash
4748
# 设置 API 密钥环境变量
48-
export MINERU_API_KEY="your-api-key-here"
49-
50-
# 启动主服务
51-
docker compose up -d api
49+
MINERU_API_KEY="your-api-key-here"
5250
```
5351

52+
然后使用 `docker compose up -d api` 重启后端服务。
53+
5454
### 4. 结构化解析 (PaddleX)
5555

5656
```bash

0 commit comments

Comments
 (0)