psuserlas commited on
Commit
31dbafd
·
verified ·
1 Parent(s): 9de5d81
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def respond(message,history):
8
 
9
  if history:
10
  messages.extend(history)
11
- messages.appendmessages.append({"role": "user", "content": message})
12
 
13
 
14
  response = client.chat_completion(messages,max_tokens=100,temperature=0.2)
 
8
 
9
  if history:
10
  messages.extend(history)
11
+ messages.append({"role": "user", "content": message})
12
 
13
 
14
  response = client.chat_completion(messages,max_tokens=100,temperature=0.2)