Antoine245 commited on
Commit
a335a7d
·
1 Parent(s): 8c633f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks() as demo:
41
  bot_message = bot_message.last # Get the last response
42
  chat_history.append(bot_message) # Append the bot's message to the chat history
43
  time.sleep(2)
44
- return bot_message
45
 
46
  msg.submit(respond,[msg,chatbot],chatbot)
47
 
 
41
  bot_message = bot_message.last # Get the last response
42
  chat_history.append(bot_message) # Append the bot's message to the chat history
43
  time.sleep(2)
44
+ return chat_history
45
 
46
  msg.submit(respond,[msg,chatbot],chatbot)
47