mylesai commited on
Commit
01f36a1
·
verified ·
1 Parent(s): 79844d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -959,7 +959,7 @@ with gr.Blocks() as block:
959
  clear = gr.ClearButton([msg, chatbot])
960
 
961
  def user(user_message, history):
962
- return "", [[user_message, None]]
963
 
964
  def bot(history, chat_engine):
965
  print(chat_engine)
 
959
  clear = gr.ClearButton([msg, chatbot])
960
 
961
  def user(user_message, history):
962
+ return "", history + [[user_message, None]]
963
 
964
  def bot(history, chat_engine):
965
  print(chat_engine)