Update tabbed.py
Browse files
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(
|