Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -244,8 +244,8 @@ def interface_function(message, action, location, history):
|
|
244 |
# Gradio Interface with table outputs for emotion and wellness professionals
|
245 |
iface = gr.Interface(
|
246 |
fn=interface_function,
|
247 |
-
inputs=["text", "radio", "text", "state"],
|
248 |
-
outputs=["text", "dataframe"],
|
249 |
live=True,
|
250 |
allow_flagging="never"
|
251 |
)
|
|
|
244 |
# Gradio Interface with table outputs for emotion and wellness professionals
|
245 |
iface = gr.Interface(
|
246 |
fn=interface_function,
|
247 |
+
inputs=["text", "radio", "text", "state"], # Include state in the inputs
|
248 |
+
outputs=["text", "dataframe", "state"], # Add state to the outputs
|
249 |
live=True,
|
250 |
allow_flagging="never"
|
251 |
)
|