DreamStream-1 commited on
Commit
5b95047
·
verified ·
1 Parent(s): 674b44a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
  )