Antoine245 commited on
Commit
b60dadc
·
1 Parent(s): 8ae9a27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  messages=chat_history
40
  )
41
  time.sleep(2)
42
- return "", bot_message.text(), chat_history
43
 
44
  msg.submit(respond,[msg,chatbot],[msg, chatbot])
45
 
 
39
  messages=chat_history
40
  )
41
  time.sleep(2)
42
+ return "", bot_message.last, chat_history
43
 
44
  msg.submit(respond,[msg,chatbot],[msg, chatbot])
45