mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix: #286
This commit is contained in:
parent
d0350e0fd0
commit
02c2f13737
@ -15,7 +15,7 @@ class Caiyun(Base):
|
|||||||
|
|
||||||
def __init__(self, key, language, **kwargs) -> None:
|
def __init__(self, key, language, **kwargs) -> None:
|
||||||
super().__init__(key, language)
|
super().__init__(key, language)
|
||||||
self.api_url = "http://api.interpreter.caiyunai.com/v1/translator"
|
self.api_url = "https://api.interpreter.caiyunai.com/v1/translator"
|
||||||
self.headers = {
|
self.headers = {
|
||||||
"content-type": "application/json",
|
"content-type": "application/json",
|
||||||
"x-authorization": f"token {key}",
|
"x-authorization": f"token {key}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user