Skip to content

Commit

Permalink
update gpt translators
Browse files Browse the repository at this point in the history
  • Loading branch information
zyddnys committed Aug 1, 2024
1 parent 3506d3b commit 972b2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manga_translator/translators/chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def strip_first_line(txt: str) :
return '\n'.join(txt.splitlines()[1:])

response = await self.client.chat.completions.create(
model='gpt-3.5-turbo-0125',
model='gpt-4o-mini-2024-07-18',
messages=messages,
max_tokens=self._MAX_TOKENS // 2,
temperature=self.temperature,
Expand Down Expand Up @@ -315,7 +315,7 @@ def strip_first_line(txt: str) :
return '\n'.join(txt.splitlines()[1:])

response = await self.client.chat.completions.create(
model='gpt-4o-mini-2024-07-18',
model='gpt-4o',
messages=messages,
max_tokens=self._MAX_TOKENS // 2,
temperature=self.temperature,
Expand Down

0 comments on commit 972b2c7

Please sign in to comment.