Spaces:
Sleeping
Sleeping
fix: Correct arguments for bot function in Gradio app
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ with gr.Blocks() as demo:
|
|
| 24 |
yield history, raw_token_text
|
| 25 |
|
| 26 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
| 27 |
-
bot,
|
| 28 |
)
|
| 29 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 30 |
|
|
|
|
| 24 |
yield history, raw_token_text
|
| 25 |
|
| 26 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
| 27 |
+
bot, chatbot, [chatbot, token_debugger]
|
| 28 |
)
|
| 29 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 30 |
|