From 8f99d0146dbcd6384ee0644cddebaf69e9c98cec Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Sun, 7 May 2023 21:26:50 +0800 Subject: [PATCH] fix: #286 --- README-CN.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-CN.md b/README-CN.md index b1e4468..a29187d 100644 --- a/README-CN.md +++ b/README-CN.md @@ -17,7 +17,7 @@ bilingual_book_maker 是一个 AI 翻译工具,使用 ChatGPT 帮助用户制 - `pip install -r requirements.txt` 或 `pip install -U bbook_maker` - 使用 `--openai_key` 指定 OpenAI API key,如果有多个可以用英文逗号分隔(xxx,xxx,xxx),可以减少接口调用次数限制带来的错误。 - 或者,指定环境变量 `BMM_OPENAI_API_KEY` 来略过这个选项。 + 或者,指定环境变量 `BBM_OPENAI_API_KEY` 来略过这个选项。 - 本地放了一个 `test_books/animal_farm.epub` 给大家测试 - 默认用了 [GPT-3.5-turbo](https://openai.com/blog/introducing-chatgpt-and-whisper-apis) 模型,也就是 ChatGPT 正在使用的模型,用 `--model gpt3` 来使用 gpt3 模型 - 可以使用 DeepL 封装的 api 进行翻译,需要付费,[DeepL Translator](https://rapidapi.com/splintPRO/api/deepl-translator) 来获得 token `--model deepl --deepl_key ${deepl_key}` diff --git a/README.md b/README.md index e5d2f03..10937c0 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The bilingual_book_maker is an AI translation tool that uses ChatGPT to assist u - `pip install -r requirements.txt` or `pip install -U bbook_maker`(you can use) - Use `--openai_key` option to specify OpenAI API key. If you have multiple keys, separate them by commas (xxx,xxx,xxx) to reduce errors caused by API call limits. - Or, just set environment variable `BMM_OPENAI_API_KEY` instead. + Or, just set environment variable `BBM_OPENAI_API_KEY` instead. - A sample book, `test_books/animal_farm.epub`, is provided for testing purposes. - The default underlying model is [GPT-3.5-turbo](https://openai.com/blog/introducing-chatgpt-and-whisper-apis), which is used by ChatGPT currently. Use `--model gpt3` to change the underlying model to `GPT3` - Support DeepL model [DeepL Translator](https://rapidapi.com/splintPRO/api/deepl-translator) need pay to get the token use `--model deepl --deepl_key ${deepl_key}`