Skip to content

Commit

Permalink
feat: change default to 16k, delete useless file
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong0618 committed Aug 29, 2023
1 parent 8f4767c commit 999c9c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 343 deletions.
13 changes: 0 additions & 13 deletions .the_little_prince.temp.bin

This file was deleted.

3 changes: 1 addition & 2 deletions book_maker/translator/chatgptapi_translator.py
Expand Up @@ -70,7 +70,7 @@ def create_chat_completion(self, text):
)

return openai.ChatCompletion.create(
model="gpt-3.5-turbo",
model="gpt-3.5-turbo-16k",
messages=messages,
temperature=self.temperature,
)
Expand Down Expand Up @@ -109,7 +109,6 @@ def get_translation(self, text):
return t_text

def translate(self, text, needprint=True):
# print("=================================================")
start_time = time.time()
# todo: Determine whether to print according to the cli option
if needprint:
Expand Down

0 comments on commit 999c9c8

Please sign in to comment.