redjkh commited on
Commit
e5f4826
·
verified ·
1 Parent(s): 2f493e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,7 +12,9 @@ def respond(message, history):
12
 
13
  response = client.chat_completion(
14
  messages,
15
- max_tokens=100
 
 
16
  )
17
 
18
  return response['choices'][0]['message']['content'].strip()
 
12
 
13
  response = client.chat_completion(
14
  messages,
15
+ max_tokens=100,
16
+ temperature=2,
17
+ top_p=1
18
  )
19
 
20
  return response['choices'][0]['message']['content'].strip()