diff --git a/book_maker/translator/chatgptapi_translator.py b/book_maker/translator/chatgptapi_translator.py index 42a14c5..929ff13 100644 --- a/book_maker/translator/chatgptapi_translator.py +++ b/book_maker/translator/chatgptapi_translator.py @@ -92,7 +92,7 @@ class ChatGPTAPI(Base): def get_translation(self, text): 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: completion = self.create_chat_completion(text)