Antoine245 commited on
Commit
4aeece0
·
1 Parent(s): 9dc96d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -54,7 +54,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
54
  clear = gr.Button("Clear")
55
 
56
  def user(user_message, history):
57
- return gr.update(value=""), history.append(user_message)
 
58
 
59
 
60
  def bot(history):
 
54
  clear = gr.Button("Clear")
55
 
56
  def user(user_message, history):
57
+ return gr.update(value=""), history.append([user_message, None])
58
+
59
 
60
 
61
  def bot(history):