Spaces:
Sleeping
Sleeping
Update emotional_core.py
Browse files- emotional_core.py +1 -1
emotional_core.py
CHANGED
|
@@ -13,5 +13,5 @@ def render(online):
|
|
| 13 |
chatbot = gr.Chatbot()
|
| 14 |
msg = gr.Textbox(label="How are you feeling?")
|
| 15 |
submit = gr.Button("Send")
|
| 16 |
-
state = gr.State([])
|
| 17 |
submit.click(fn=respond, inputs=[msg, state], outputs=[chatbot, state])
|
|
|
|
| 13 |
chatbot = gr.Chatbot()
|
| 14 |
msg = gr.Textbox(label="How are you feeling?")
|
| 15 |
submit = gr.Button("Send")
|
| 16 |
+
state = gr.State([])
|
| 17 |
submit.click(fn=respond, inputs=[msg, state], outputs=[chatbot, state])
|