Skip to content

Commit 7155e78

Browse files
authored
Update translator.py
1 parent 6370373 commit 7155e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/translator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def translate_text(language, text, file_path, model, cont=0, slpitted=False, cli
156156
response = client.chat.completions.create(
157157
model=model,
158158
messages=messages,
159-
temperature=0
159+
temperature=1 # 1 because gpt-5 doesn't support other
160160
)
161161
except Exception as e:
162162
print("Python Exception: " + str(e))

0 commit comments

Comments
 (0)