Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,8 +77,9 @@ with gr.Blocks() as demo:
|
|
| 77 |
return history, url_params # Returning url_params to match the expected arguments
|
| 78 |
|
| 79 |
msg.submit(user, inputs=[msg, url_params, chatbot], outputs=[msg, chatbot], queue=False).then(
|
| 80 |
-
fn=bot, inputs=[chatbot, url_params, json_result], outputs=[chatbot
|
| 81 |
)
|
|
|
|
| 82 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 83 |
demo.load(
|
| 84 |
fn=lambda x: x,
|
|
|
|
| 77 |
return history, url_params # Returning url_params to match the expected arguments
|
| 78 |
|
| 79 |
msg.submit(user, inputs=[msg, url_params, chatbot], outputs=[msg, chatbot], queue=False).then(
|
| 80 |
+
fn=bot, inputs=[chatbot, url_params, json_result], outputs=[chatbot]
|
| 81 |
)
|
| 82 |
+
|
| 83 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 84 |
demo.load(
|
| 85 |
fn=lambda x: x,
|