mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-04 02:20:18 +00:00
fix: typo
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
7c79433159
commit
eae40a6a7b
@ -92,7 +92,7 @@ class ChatGPTAPI(Base):
|
|||||||
|
|
||||||
def get_translation(self, text):
|
def get_translation(self, text):
|
||||||
self.rotate_key()
|
self.rotate_key()
|
||||||
self.rotate_model() # rotate all the model to aviod the limit
|
self.rotate_model() # rotate all the model to avoid the limit
|
||||||
|
|
||||||
try:
|
try:
|
||||||
completion = self.create_chat_completion(text)
|
completion = self.create_chat_completion(text)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user