Paul-Louis Pröve
commited on
Commit
·
7a5e182
1
Parent(s):
7a83e02
removed unused code
Browse files
app.py
CHANGED
@@ -86,13 +86,6 @@ with gr.Blocks(
|
|
86 |
[chatbot, text],
|
87 |
queue=False,
|
88 |
).then(bot, [chatbot, text], chatbot)
|
89 |
-
# btn = gr.Button("Send", variant="primary")
|
90 |
-
# btn.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
91 |
-
# search,
|
92 |
-
# [chatbot, text],
|
93 |
-
# [chatbot, text],
|
94 |
-
# queue=False,
|
95 |
-
# ).then(bot, [chatbot, text], chatbot)
|
96 |
with gr.Row():
|
97 |
gr.Button("Clear").click(
|
98 |
lambda x, y: ([], None), [chatbot, text], [chatbot, text]
|
|
|
86 |
[chatbot, text],
|
87 |
queue=False,
|
88 |
).then(bot, [chatbot, text], chatbot)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
with gr.Row():
|
90 |
gr.Button("Clear").click(
|
91 |
lambda x, y: ([], None), [chatbot, text], [chatbot, text]
|