maahikachitagi commited on
Commit
3eb040b
·
verified ·
1 Parent(s): 4c697bd

Update app.py

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