Antoine245 commited on
Commit
7f83c82
·
1 Parent(s): 6e0fd70

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((message,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],[msg, chatbot])
47
 
 
41
  bot_message = bot_message.last # Get the last response
42
  chat_history.append((message,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],[msg, chatbot])
47