Antoine245 commited on
Commit
e5ab3ea
·
1 Parent(s): 861412f

Update app.py

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