From eae40a6a7b5c1b6367c64846f0b6e9e460a89585 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Tue, 26 Dec 2023 17:53:39 +0800 Subject: [PATCH] fix: typo Signed-off-by: yihong0618 --- book_maker/translator/chatgptapi_translator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)