Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ with gr.Blocks() as demo:
|
|
| 117 |
inputs=[chatbot, txt],
|
| 118 |
outputs=[chatbot],
|
| 119 |
queue=False
|
| 120 |
-
|
| 121 |
fn=generate_response,
|
| 122 |
inputs=[chatbot, txt, btn],
|
| 123 |
outputs=[chatbot, txt]
|
|
|
|
| 117 |
inputs=[chatbot, txt],
|
| 118 |
outputs=[chatbot],
|
| 119 |
queue=False
|
| 120 |
+
).success(
|
| 121 |
fn=generate_response,
|
| 122 |
inputs=[chatbot, txt, btn],
|
| 123 |
outputs=[chatbot, txt]
|