Spaces:
Runtime error
Runtime error
test
commited on
Commit
·
23759b0
1
Parent(s):
3ed04a7
fix: clear chat
Browse files
app.py
CHANGED
@@ -131,6 +131,6 @@ with gr.Blocks() as demo:
|
|
131 |
)
|
132 |
|
133 |
clear = gr.Button("New Chat")
|
134 |
-
clear.click(lambda:
|
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()
|