Skip to content

Commit

Permalink
Merge pull request #410 from hellofinch/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Byaidu authored Jan 6, 2025
2 parents 79c09cd + d6244fc commit 6176b17
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ In the following table, we list all advanced options for reference:
| `--prompt` | [Custom Prompt](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#prompt) | `pdf2zh --prompt [prompt.txt]` |
| `--onnx` | [Use Custom DocLayout-YOLO ONNX model] | `pdf2zh --onnx [onnx/model/path]` |
| `--serverport` | [Use Custom WebUI port] | `pdf2zh --serverport 7860` |
| `--dir` | [batch translate] | `pdf2zh --dir /path/to/translate/` |

For detailed explanations, please refer to our document about [Advanced Usage](./docs/ADVANCED.md) for a full list of each option.

Expand Down
1 change: 1 addition & 0 deletions docs/README_ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ Python環境を事前にインストールする必要はありません
| `--prompt` | [カスタムビッグモデルのプロンプトを使用する] | `pdf2zh --prompt [prompt.txt]` |
| `--onnx` | [カスタムDocLayout-YOLO ONNXモデルの使用] | `pdf2zh --onnx [onnx/model/path]` |
| `--serverport` | [カスタムWebUIポートを使用する] | `pdf2zh --serverport 7860` |
| `--dir` | [batch translate] | `pdf2zh --dir /path/to/translate/` |

<h3 id="partial">全文または部分的なドキュメント翻訳</h3>

Expand Down
1 change: 1 addition & 0 deletions docs/README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ set HF_ENDPOINT=https://hf-mirror.com
| `--prompt` | [使用自定义的大模型prompt] | `pdf2zh --prompt [prompt.txt]` |
| `--onnx` | [使用自定义的 DocLayout-YOLO ONNX 模型] | `pdf2zh --onnx [onnx/model/path]` |
| `--serverport` | [使用自定义的 WebUI 端口] | `pdf2zh --serverport 7860` |
| `--dir` | [文件夹翻译] | `pdf2zh --dir /path/to/translate/` |

<h3 id="partial">全文或部分文档翻译</h3>

Expand Down

0 comments on commit 6176b17

Please sign in to comment.