fix clear button
Browse files
app.py
CHANGED
|
@@ -287,7 +287,7 @@ with gr.Blocks() as demo:
|
|
| 287 |
chat_with_model, chatbot, chatbot
|
| 288 |
)
|
| 289 |
|
| 290 |
-
|
| 291 |
|
| 292 |
|
| 293 |
|
|
|
|
| 287 |
chat_with_model, chatbot, chatbot
|
| 288 |
)
|
| 289 |
|
| 290 |
+
clear_btn.click(lambda: [], None, chatbot, queue=False)
|
| 291 |
|
| 292 |
|
| 293 |
|