Skip to content

Commit

Permalink
Update chatgpt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
popcion authored Dec 31, 2024
1 parent 0b28d91 commit 5e17536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga_translator/translators/chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ async def _request_translation(self, to_lang: str, prompt: str) -> str:
class GPT4Translator(GPT35TurboTranslator):
_CONFIG_KEY = 'gpt4'
_MAX_REQUESTS_PER_MINUTE = 200
_RETRY_ATTEMPTS = 5
_RETRY_ATTEMPTS = 3
_MAX_TOKENS = 8192

@property
Expand Down

0 comments on commit 5e17536

Please sign in to comment.