mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-04 02:20:18 +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:
|
||||
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 = {
|
||||
"content-type": "application/json",
|
||||
"x-authorization": f"token {key}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user