mmargg commited on
Commit
29c9487
·
verified ·
1 Parent(s): da9c248

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def respond(message,history):
174
 
175
  messages.append({"role":"user","content": message})
176
 
177
- response=client.chat_completion(messages, temperature=0.2, max_tokens=350)#capping how many words the LLM is allowed to generate as a respond (100 words)
178
 
179
  return response['choices'][0]['message']['content'].strip() #storing value of response in a readable format to display
180
 
 
174
 
175
  messages.append({"role":"user","content": message})
176
 
177
+ response=client.chat_completion(messages, temperature=0.2)#capping how many words the LLM is allowed to generate as a respond (100 words)
178
 
179
  return response['choices'][0]['message']['content'].strip() #storing value of response in a readable format to display
180