Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
·
bd2d2e2
1
Parent(s):
3d8ca94
app.py
CHANGED
@@ -394,7 +394,8 @@ with gr.Blocks(
|
|
394 |
outputs=[msg, chatbot],
|
395 |
queue=False,
|
396 |
show_progress="full",
|
397 |
-
|
|
|
398 |
submit.click(
|
399 |
fn=lambda x, y: ("",) + user(x, y)[1:], # clear msg
|
400 |
inputs=[msg, chatbot],
|
@@ -402,7 +403,8 @@ with gr.Blocks(
|
|
402 |
# queue=True,
|
403 |
queue=False,
|
404 |
show_progress="full",
|
405 |
-
|
|
|
406 |
|
407 |
clear.click(lambda: None, None, chatbot, queue=False)
|
408 |
|
|
|
394 |
outputs=[msg, chatbot],
|
395 |
queue=False,
|
396 |
show_progress="full",
|
397 |
+
api_name=False,
|
398 |
+
).then(bot, chatbot, chatbot, queue=False)
|
399 |
submit.click(
|
400 |
fn=lambda x, y: ("",) + user(x, y)[1:], # clear msg
|
401 |
inputs=[msg, chatbot],
|
|
|
403 |
# queue=True,
|
404 |
queue=False,
|
405 |
show_progress="full",
|
406 |
+
api_name=False,
|
407 |
+
).then(bot, chatbot, chatbot, queue=False)
|
408 |
|
409 |
clear.click(lambda: None, None, chatbot, queue=False)
|
410 |
|