Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
•
22c340a
1
Parent(s):
34e89c5
Fix api (remove api_name=None)
Browse files
app.py
CHANGED
@@ -396,7 +396,7 @@ with gr.Blocks(
|
|
396 |
outputs=[msg, chatbot],
|
397 |
queue=True,
|
398 |
show_progress="full",
|
399 |
-
api_name=None,
|
400 |
).then(bot, chatbot, chatbot, queue=True)
|
401 |
submit.click(
|
402 |
# fn=lambda x, y: ("",) + user(x, y)[1:], # clear msg
|
@@ -406,7 +406,7 @@ with gr.Blocks(
|
|
406 |
queue=True,
|
407 |
# queue=False,
|
408 |
show_progress="full",
|
409 |
-
api_name=None,
|
410 |
).then(bot, chatbot, chatbot, queue=True)
|
411 |
|
412 |
clear.click(lambda: None, None, chatbot, queue=False)
|
|
|
396 |
outputs=[msg, chatbot],
|
397 |
queue=True,
|
398 |
show_progress="full",
|
399 |
+
# api_name=None,
|
400 |
).then(bot, chatbot, chatbot, queue=True)
|
401 |
submit.click(
|
402 |
# fn=lambda x, y: ("",) + user(x, y)[1:], # clear msg
|
|
|
406 |
queue=True,
|
407 |
# queue=False,
|
408 |
show_progress="full",
|
409 |
+
# api_name=None,
|
410 |
).then(bot, chatbot, chatbot, queue=True)
|
411 |
|
412 |
clear.click(lambda: None, None, chatbot, queue=False)
|