stzhao commited on
Commit
d136595
·
verified ·
1 Parent(s): 437267f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def update_messages_with_text(messages, generated_content):
99
  messages.append(message_item)
100
  return messages
101
 
102
- def call_chatgpt_api(messages, client, max_tokens=10000, stop=None, temperature=1.0):
103
  """Call ChatGPT API with the given messages"""
104
  try:
105
  response = client.chat.completions.create(
 
99
  messages.append(message_item)
100
  return messages
101
 
102
+ def call_chatgpt_api(messages, client, max_tokens=10000, stop=None, temperature=0.6):
103
  """Call ChatGPT API with the given messages"""
104
  try:
105
  response = client.chat.completions.create(