fix: typo

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618 2023-12-26 17:53:39 +08:00
parent 7c79433159
commit eae40a6a7b

View File

@ -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)