DocUA commited on
Commit
19cbdbf
·
1 Parent(s): 983e367

feat: Update example help button text for emotional crisis support

Browse files
src/interface/simplified_gradio_app.py CHANGED
@@ -163,7 +163,7 @@ def create_simplified_interface():
163
  with gr.Row():
164
  example_medical = gr.Button("🩺 I have a headache", size="sm")
165
  example_wellness = gr.Button("💭 I'm feeling stressed", size="sm")
166
- example_help = gr.Button(" How can you help?", size="sm")
167
 
168
  with gr.Column(scale=1):
169
  status_box = gr.Markdown(
@@ -2005,7 +2005,7 @@ To revert, use "Reset to Default" button.
2005
  )
2006
 
2007
  example_help.click(
2008
- lambda h, s: send_example_with_stats("How can you help me with my health?", h, s),
2009
  inputs=[chatbot, session_data],
2010
  outputs=[chatbot, status_box, session_data, msg, conversation_stats, provider_summary_content, provider_summary_status]
2011
  )
 
163
  with gr.Row():
164
  example_medical = gr.Button("🩺 I have a headache", size="sm")
165
  example_wellness = gr.Button("💭 I'm feeling stressed", size="sm")
166
+ example_help = gr.Button("🔴 Emotional crisis", size="sm")
167
 
168
  with gr.Column(scale=1):
169
  status_box = gr.Markdown(
 
2005
  )
2006
 
2007
  example_help.click(
2008
+ lambda h, s: send_example_with_stats("I am currently experiencing an emotional crisis", h, s),
2009
  inputs=[chatbot, session_data],
2010
  outputs=[chatbot, status_box, session_data, msg, conversation_stats, provider_summary_content, provider_summary_status]
2011
  )