astegaras commited on
Commit
bbe2c8f
·
verified ·
1 Parent(s): 23a8ec8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -32,9 +32,9 @@ def chat_fn(message, history):
32
 
33
  output = llm.create_chat_completion(
34
  messages=messages,
35
- max_tokens=512,
36
- temperature=0.7,
37
- top_p=0.9
38
  )
39
 
40
  reply = output["choices"][0]["message"]["content"]
 
32
 
33
  output = llm.create_chat_completion(
34
  messages=messages,
35
+ max_tokens=256,
36
+ temperature=0.2,
37
+ top_p=0.5
38
  )
39
 
40
  reply = output["choices"][0]["message"]["content"]