winglian commited on
Commit
be6b069
1 Parent(s): ff0a0ff

Update tabbed.py

Browse files
Files changed (1) hide show
  1. tabbed.py +1 -1
tabbed.py CHANGED
@@ -123,7 +123,7 @@ with gr.Blocks() as demo:
123
  start_message, label="System Message", interactive=False, visible=False)
124
 
125
  chat_history_state = gr.State()
126
- clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message])
127
  clear.click(lambda: None, None, chatbot, queue=False)
128
 
129
  submit_click_event = submit.click(
 
123
  start_message, label="System Message", interactive=False, visible=False)
124
 
125
  chat_history_state = gr.State()
126
+ clear.click(clear_chat, inputs=[chat_history_state, message], outputs=[chat_history_state, message], queue=False)
127
  clear.click(lambda: None, None, chatbot, queue=False)
128
 
129
  submit_click_event = submit.click(