Spaces:
Runtime error
Runtime error
Commit
·
ed151e4
1
Parent(s):
d73ac52
Update app.py
Browse files
app.py
CHANGED
@@ -46,10 +46,10 @@ with gr.Blocks() as demo:
|
|
46 |
# ],
|
47 |
# live=True)
|
48 |
|
49 |
-
txt.submit(user, [
|
50 |
bot, chatbot, chatbot
|
51 |
)
|
52 |
-
submit.click(user, [
|
53 |
bot, chatbot, chatbot
|
54 |
)
|
55 |
|
|
|
46 |
# ],
|
47 |
# live=True)
|
48 |
|
49 |
+
txt.submit(user, [txt, chatbot], [txt, chatbot], queue=False).then(
|
50 |
bot, chatbot, chatbot
|
51 |
)
|
52 |
+
submit.click(user, [txt, chatbot], [txt, chatbot], queue=False).then(
|
53 |
bot, chatbot, chatbot
|
54 |
)
|
55 |
|