Skip to content

Commit

Permalink
doc: deeplx
Browse files Browse the repository at this point in the history
  • Loading branch information
Byaidu committed Dec 5, 2024
1 parent 2604748 commit 3ec90bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pdf2zh example.pdf -li en -lo ja

See [DeepLX](https://github.com/OwO-Network/DeepLX)

Set ENVs to construct an endpoint like: `{DEEPL_SERVER_URL}/translate`
Set ENVs to construct an endpoint like: `{DEEPLX_SERVER_URL}/{DEEPLX_AUTH_KEY}/translate`
- `DEEPLX_SERVER_URL` (Optional), e.g., `export DEEPLX_SERVER_URL=https://api.deeplx.org`
- `DEEPLX_AUTH_KEY`, e.g., `export DEEPLX_AUTH_KEY=xxx`

Expand Down
6 changes: 3 additions & 3 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ pdf2zh example.pdf -s deepl

参考 [DeepLX](https://github.com/OwO-Network/DeepLX)

设置环境变量构建接入点:`{DEEPLX_SERVER_URL}/translate`
设置环境变量构建接入点:`{DEEPLX_SERVER_URL}/{DEEPLX_AUTH_KEY}/translate`

- `DEEPLX_SERVER_URL`(可选), e.g., `export DEEPLX_SERVER_URL=https://api.deepl.com`
- `DEEPLX_SERVER_URL`(可选), e.g., `export DEEPLX_SERVER_URL=https://api.deeplx.org`
- `DEEPLX_AUTH_KEY`, e.g., `export DEEPLX_AUTH_KEY=xxx`

```bash
pdf2zh example.pdf -s deepl
pdf2zh example.pdf -s deeplx
```

- **Ollama**
Expand Down

0 comments on commit 3ec90bc

Please sign in to comment.