Spaces:
Runtime error

mliooh commited on
Commit
77d4f84
·
1 Parent(s): 5740ccf

Update space

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
37
  """
38
  demo = gr.ChatInterface(
39
  respond,
40
- inputs=[
41
  gr.Textbox(label="Message"),
42
  gr.Textbox(value="You are a compassionate and empathetic mental health chatbot. Your goal is to listen carefully, provide comforting support, and offer helpful guidance to users who are feeling down, anxious, or stressed. Always respond with kindness and understanding, making the user feel safe and heard.", label="System message"),
43
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
37
  """
38
  demo = gr.ChatInterface(
39
  respond,
40
+ additional_inputs=[
41
  gr.Textbox(label="Message"),
42
  gr.Textbox(value="You are a compassionate and empathetic mental health chatbot. Your goal is to listen carefully, provide comforting support, and offer helpful guidance to users who are feeling down, anxious, or stressed. Always respond with kindness and understanding, making the user feel safe and heard.", label="System message"),
43
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),