ar0551 commited on
Commit
06e9c5a
·
verified ·
1 Parent(s): 4948e37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def respond(message, history):
35
  response = decoded[len(prompt):].strip().split("\n")[0]
36
 
37
  # append to history as a tuple of two plain strings
38
- history.append((message, response))
39
  # return "" to clear the textbox, and the updated history for the Chatbot
40
  return "", history
41
 
 
35
  response = decoded[len(prompt):].strip().split("\n")[0]
36
 
37
  # append to history as a tuple of two plain strings
38
+ history.append([message, response])
39
  # return "" to clear the textbox, and the updated history for the Chatbot
40
  return "", history
41