kaitwithkwk commited on
Commit
865ef83
·
verified ·
1 Parent(s): 174b4d9

Update app.py

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