|
|
@@ -1,6 +1,6 @@
|
|
|
<div align="center">
|
|
|
|
|
|
-English | [简体中文](docs/README_zh-CN.md) | [繁體中文](docs/README_zh-TW.md) | [日本語](docs/README_ja-JP.md)
|
|
|
+English | [简体中文](docs/README_zh-CN.md) | [繁體中文](docs/README_zh-TW.md) | [日本語](docs/README_ja-JP.md) | [한국어](docs/README_ko-KR.md)
|
|
|
|
|
|
<img src="./docs/images/banner.png" width="320px" alt="PDF2ZH"/>
|
|
|
|
|
|
@@ -173,6 +173,7 @@ set HF_ENDPOINT=https://hf-mirror.com
|
|
|
```
|
|
|
|
|
|
For PowerShell user:
|
|
|
+
|
|
|
```shell
|
|
|
$env:HF_ENDPOINT = https://hf-mirror.com
|
|
|
```
|
|
|
@@ -201,13 +202,13 @@ In the following table, we list all advanced options for reference:
|
|
|
| `-f`, `-c` | [Exceptions](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#exceptions) | `pdf2zh example.pdf -f "(MS.*)"` |
|
|
|
| `-cp` | Compatibility Mode | `pdf2zh example.pdf --compatible` |
|
|
|
| `--share` | Public link | `pdf2zh -i --share` |
|
|
|
-| `--authorized` | [Authorization](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#auth) | `pdf2zh -i --authorized users.txt [auth.html]` |
|
|
|
+| `--authorized` | [Authorization](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#auth) | `pdf2zh -i --authorized users.txt [auth.html]` |
|
|
|
| `--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/` |
|
|
|
-| `--config` | [configuration file](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#cofig) | `pdf2zh --config /path/to/config/config.json` |
|
|
|
-| `--serverport` | [custom gradio server port] | `pdf2zh --serverport 7860` |
|
|
|
+| `--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/` |
|
|
|
+| `--config` | [configuration file](https://github.com/Byaidu/PDFMathTranslate/blob/main/docs/ADVANCED.md#cofig) | `pdf2zh --config /path/to/config/config.json` |
|
|
|
+| `--serverport` | [custom gradio server port] | `pdf2zh --serverport 7860` |
|
|
|
|
|
|
For detailed explanations, please refer to our document about [Advanced Usage](./docs/ADVANCED.md) for a full list of each option.
|
|
|
|