UserPotato12397 commited on
Commit
67327a2
·
verified ·
1 Parent(s): ca78c3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def respond(message, history):
12
 
13
  messages.append({"role": "user", "content": message})
14
 
15
- response = client.chat_completion(messages, max_tokens = 1000, temperature = 1, top_p = 0.1)
16
  # Changes the length of message
17
 
18
  print(response['choices'][0]['message']['content'].strip())
 
12
 
13
  messages.append({"role": "user", "content": message})
14
 
15
+ response = client.chat_completion(messages, max_tokens = 500, temperature = 1, top_p = 0.1)
16
  # Changes the length of message
17
 
18
  print(response['choices'][0]['message']['content'].strip())