mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-06 11:35:49 +00:00
fix: #380 thanks yangchen859
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
9c53374955
commit
3b731efc21
@ -21,7 +21,7 @@ class DeepL(Base):
|
|||||||
self.headers = {
|
self.headers = {
|
||||||
"content-type": "application/json",
|
"content-type": "application/json",
|
||||||
"X-RapidAPI-Key": "",
|
"X-RapidAPI-Key": "",
|
||||||
"X-RapidAPI-Host": "deepl-translator.p.rapidapi.com",
|
"X-RapidAPI-Host": "dpl-translator.p.rapidapi.com",
|
||||||
}
|
}
|
||||||
l = None
|
l = None
|
||||||
l = language if language in LANGUAGES else TO_LANGUAGE_CODE.get(language)
|
l = language if language in LANGUAGES else TO_LANGUAGE_CODE.get(language)
|
||||||
|
2
setup.py
2
setup.py
@ -19,7 +19,7 @@ packages = [
|
|||||||
setup(
|
setup(
|
||||||
name="bbook_maker",
|
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.",
|
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",
|
license="MIT",
|
||||||
author="yihong0618",
|
author="yihong0618",
|
||||||
author_email="zouzou0208@gmail.com",
|
author_email="zouzou0208@gmail.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user