rrk757 commited on
Commit
902b32d
·
verified ·
1 Parent(s): 1760d0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def respond(message,history):
16
 
17
  messages = [{"role": "system", "content": "You are a mean chatbot."}]
18
 
19
- if history:
20
- messages.extend(history)
21
 
22
  message.append({"role": "user", "content": message})
23
 
 
16
 
17
  messages = [{"role": "system", "content": "You are a mean chatbot."}]
18
 
19
+ if history:
20
+ messages.extend(history)
21
 
22
  message.append({"role": "user", "content": message})
23