Spaces:
Runtime error
Runtime error
Commit
·
2aa0b21
1
Parent(s):
76e6a74
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ with block:
|
|
83 |
state = gr.State()
|
84 |
agent_state = gr.State()
|
85 |
|
|
|
86 |
|
87 |
-
message.submit(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
88 |
|
89 |
|
90 |
def echo(name, request: gr.Request):
|
|
|
83 |
state = gr.State()
|
84 |
agent_state = gr.State()
|
85 |
|
86 |
+
submit.click(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
87 |
|
|
|
88 |
|
89 |
|
90 |
def echo(name, request: gr.Request):
|