fix: #380 thanks yangchen859

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618 2024-01-31 10:18:06 +08:00
parent 9c53374955
commit 3b731efc21
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class DeepL(Base):
self.headers = {
"content-type": "application/json",
"X-RapidAPI-Key": "",
"X-RapidAPI-Host": "deepl-translator.p.rapidapi.com",
"X-RapidAPI-Host": "dpl-translator.p.rapidapi.com",
}
l = None
l = language if language in LANGUAGES else TO_LANGUAGE_CODE.get(language)

View File

@ -19,7 +19,7 @@ packages = [
setup(
name="bbook_maker",
description="The bilingual_book_maker is an AI translation tool that uses ChatGPT to assist users in creating multi-language versions of epub/txt files and books.",
version="0.7.5",
version="0.7.6",
license="MIT",
author="yihong0618",
author_email="zouzou0208@gmail.com",