Laura Biester
commited on
Commit
·
a154090
1
Parent(s):
355ae7f
Really getting into the weeds here
Browse files
app.py
CHANGED
|
@@ -76,5 +76,7 @@ demo = gr.ChatInterface(
|
|
| 76 |
clear_btn="Reset chat history and talk to another bot",
|
| 77 |
retry_btn=None,
|
| 78 |
undo_btn=None)
|
| 79 |
-
|
|
|
|
|
|
|
| 80 |
demo.launch(share=True)
|
|
|
|
| 76 |
clear_btn="Reset chat history and talk to another bot",
|
| 77 |
retry_btn=None,
|
| 78 |
undo_btn=None)
|
| 79 |
+
|
| 80 |
+
with gr.Blocks():
|
| 81 |
+
demo.clear_btn.click(lambda: "Clear was clicked")
|
| 82 |
demo.launch(share=True)
|