Spaces:
Sleeping
Sleeping
abnerguzman
commited on
Commit
•
c914fb5
1
Parent(s):
e883152
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks() as demo:
|
|
86 |
yield history
|
87 |
|
88 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(bot, [chatbot, chat_engine_var], chatbot)
|
89 |
-
clear.click(lambda:
|
90 |
|
91 |
if __name__ == "__main__":
|
92 |
demo.queue()
|
|
|
86 |
yield history
|
87 |
|
88 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(bot, [chatbot, chat_engine_var], chatbot)
|
89 |
+
clear.click(lambda x: x.reset(), chat_engine_var, chatbot, queue=False)
|
90 |
|
91 |
if __name__ == "__main__":
|
92 |
demo.queue()
|