mmargg commited on
Commit
ba02dad
·
verified ·
1 Parent(s): bbda856
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def respond(message,history):
18
 
19
  messages.append({"role":"user", "content": message})
20
 
21
- response=client.chat_completion(messages, temperature=0.8, stream=True, max_tokens=300) #capping how many words the LLM is allowed to generate as a respond (300 words)
22
 
23
  for message in client.chat_completion():
24
  token=message.choices[0].delta.content
 
18
 
19
  messages.append({"role":"user", "content": message})
20
 
21
+ response=client.chat_completion(messages, temperature=0.8, stream=True, max_tokens=100) #capping how many words the LLM is allowed to generate as a respond (300 words)
22
 
23
  for message in client.chat_completion():
24
  token=message.choices[0].delta.content