Update app.py
Browse files
app.py
CHANGED
|
@@ -145,8 +145,8 @@ with block:
|
|
| 145 |
agent_state = gr.State()
|
| 146 |
|
| 147 |
|
| 148 |
-
submit.click(chat, inputs=[
|
| 149 |
-
message.submit(chat, inputs=[
|
| 150 |
|
| 151 |
gr.Markdown("")
|
| 152 |
|
|
|
|
| 145 |
agent_state = gr.State()
|
| 146 |
|
| 147 |
|
| 148 |
+
submit.click(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
| 149 |
+
message.submit(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
| 150 |
|
| 151 |
gr.Markdown("")
|
| 152 |
|