test commited on
Commit
23759b0
·
1 Parent(s): 3ed04a7

fix: clear chat

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,6 +131,6 @@ with gr.Blocks() as demo:
131
  )
132
 
133
  clear = gr.Button("New Chat")
134
- clear.click(lambda: None, None, history_bo, queue=False)
135
 
136
  demo.launch()
 
131
  )
132
 
133
  clear = gr.Button("New Chat")
134
+ clear.click(lambda: [[], []], None, [history_bo, history_en], queue=False)
135
 
136
  demo.launch()