Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ with block:
|
|
80 |
state = gr.State()
|
81 |
agent_state = gr.State()
|
82 |
|
83 |
-
block.load(load_model, inputs=None, outputs=[agent_state]
|
84 |
|
85 |
submit.click(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
86 |
message.submit(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
|
|
80 |
state = gr.State()
|
81 |
agent_state = gr.State()
|
82 |
|
83 |
+
block.load(load_model, inputs=None, outputs=[agent_state])
|
84 |
|
85 |
submit.click(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|
86 |
message.submit(chat, inputs=[message, state, agent_state], outputs=[chatbot, state])
|