Dylan-Kaneshiro commited on
Commit
b7cfea3
1 Parent(s): df94402

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -19,8 +19,7 @@ custom_css = """
19
 
20
  def respond(message, chat_history, index):
21
  bot_message = index.query(message)
22
- chat_history.append((message, bot_message))
23
- time.sleep(2)
24
  return "", chat_history, display_question_and_answer(chat_history)
25
 
26
  def display_question_and_answer(tuple_list):
 
19
 
20
  def respond(message, chat_history, index):
21
  bot_message = index.query(message)
22
+ chat_history.append((message, bot_message.response))
 
23
  return "", chat_history, display_question_and_answer(chat_history)
24
 
25
  def display_question_and_answer(tuple_list):