hellofinch 1 год назад
Родитель
Сommit
390f1bf981
3 измененных файлов с 9 добавлено и 9 удалено
  1. 3 3
      README.md
  2. 3 3
      README_ja-JP.md
  3. 3 3
      README_zh-CN.md

+ 3 - 3
README.md

@@ -172,8 +172,8 @@ In the following table, we list all advanced options for reference:
 | `-o`  | Output dir | `pdf2zh example.pdf -o output` |
 | `-f`, `-c` | [Exceptions](#exceptions) | `pdf2zh example.pdf -f "(MS.*)"` |
 | `--share` | [Get gradio public link] | `pdf2zh -i --share` |
-| `-a` | [add authorization and custom login page] | `pdf2zh -i -a users.txt [auth.html]` |
-| `-pr` | [custom llm prompt] | `pdf2zh -pr [prompt.txt]` |
+| `--authorized` | [add authorization and custom login page] | `pdf2zh -i --authorized users.txt [auth.html]` |
+| `--prompt` | [custom llm prompt] | `pdf2zh --prompt [prompt.txt]` |
 
 <h3 id="partial">Full / partial document translation</h3>
 
@@ -254,7 +254,7 @@ Use `-t` to specify how many threads to use in translation:
 pdf2zh example.pdf -t 1
 ```
 <h3 id="prompt">custom prompt</h3>
-Use `-pr` or `--prompt` to specify which prompt to use in llm:
+Use `--prompt` to specify which prompt to use in llm:
 ```bash
 pdf2zh example.pdf -pr prompt.txt
 ```

+ 3 - 3
README_ja-JP.md

@@ -173,8 +173,8 @@ Python環境を事前にインストールする必要はありません
 | `-o`  | 出力ディレクトリ | `pdf2zh example.pdf -o output` |
 | `-f`, `-c` | [例外](#exceptions) | `pdf2zh example.pdf -f "(MS.*)"` |
 | `--share` | [gradio公開リンクを取得] | `pdf2zh -i --share` |
-| `-a` | [ウェブ認証とカスタム認証ページの追加] | `pdf2zh -i -a users.txt [auth.html]` |
-| `-pr` | [カスタムビッグモデルのプロンプトを使用する] | `pdf2zh -pr [prompt.txt]` |
+| `--authorized` | [ウェブ認証とカスタム認証ページの追加] | `pdf2zh -i --authorized users.txt [auth.html]` |
+| `--prompt` | [カスタムビッグモデルのプロンプトを使用する] | `pdf2zh --prompt [prompt.txt]` |
 
 <h3 id="partial">全文または部分的なドキュメント翻訳</h3>
 
@@ -257,7 +257,7 @@ pdf2zh example.pdf -t 1
 
 <h3 id="prompt">custom prompt</h3>
 (need Japenese translation)
-Use `-pr` or `--prompt` to specify which prompt to use in llm:
+Use `--prompt` to specify which prompt to use in llm:
 ```bash
 pdf2zh example.pdf -pr prompt.txt
 ```

+ 3 - 3
README_zh-CN.md

@@ -172,8 +172,8 @@ USE_MODELSCOPE=1 pdf2zh
 | `-o`  | 输出目录 | `pdf2zh example.pdf -o output` |
 | `-f`, `-c` | [例外规则](#exceptions) | `pdf2zh example.pdf -f "(MS.*)"` |
 | `--share` | [获取 gradio 公开链接] | `pdf2zh -i --share` |
-| `-a` | [添加网页认证和自定义认证页] | `pdf2zh -i -a users.txt [auth.html]` |
-| `-pr` | [使用自定义的大模型prompt] | `pdf2zh -pr [prompt.txt]` |
+| `--authorized` | [添加网页认证和自定义认证页] | `pdf2zh -i --authorized users.txt [auth.html]` |
+| `--prompt` | [使用自定义的大模型prompt] | `pdf2zh --prompt [prompt.txt]` |
 
 <h3 id="partial">全文或部分文档翻译</h3>
 
@@ -255,7 +255,7 @@ pdf2zh example.pdf -t 1
 ```
 <h3 id="prompt">自定义大模型prompt</h3>
 
-使用 `-pr` 或 `--prompt` 指定使用大模型翻译时使用的 Prompt 文件。
+使用 `--prompt` 指定使用大模型翻译时使用的 Prompt 文件。
 
 ```bash
 pdf2zh example.pdf -pr prompt.txt