peterpull commited on
Commit
77565d7
·
1 Parent(s): 316b88a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def chatbot(input_text, history=conversation_history):
115
  history.append((input_text, response.response))
116
 
117
  # return the response and updated conversation history
118
- return response.response, history
119
 
120
  with open('about.txt', 'r') as file:
121
  about = file.read()
 
115
  history.append((input_text, response.response))
116
 
117
  # return the response and updated conversation history
118
+ return [(input_text, response.response)], history
119
 
120
  with open('about.txt', 'r') as file:
121
  about = file.read()