Naomi567 commited on
Commit
1b710a2
·
verified ·
1 Parent(s): 416dd43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -88,9 +88,9 @@ def display_image():
88
 
89
  def show_info(topic):
90
  responses = {
91
- "General Health": 18009949662,
92
- "Maternal Mental Health": 18338526262,
93
- "Domestic Violence": 18007997233,
94
  "Postpartum Support": 1-800-994-4773
95
  }
96
  return responses.get(topic, "Select a topic to see more info.")
@@ -107,7 +107,7 @@ with gr.Blocks (theme = theme) as chatbot:
107
  "What should I know about puberty?",
108
  "Where can I find my nearest OBGYN?"]
109
  )
110
- title_hotline= "# Select to get hotline number"
111
 
112
  with gr.Tabs():
113
  with gr.TabItem("Resources"):
@@ -137,7 +137,7 @@ with gr.Blocks (theme = theme) as chatbot:
137
  gr.Markdown(title_hotline)
138
  gr.Markdown(hotline_text)
139
  dropdown = gr.Dropdown(choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"],
140
- label="Choose your hotline"
141
  )
142
  output = gr.Textbox(label="Hotline Info", interactive=False)
143
 
 
88
 
89
  def show_info(topic):
90
  responses = {
91
+ "General Health": 1-800-994-9662,
92
+ "Maternal Mental Health": 1-833-852-6262,
93
+ "Domestic Violence": 1-800-799-7233,
94
  "Postpartum Support": 1-800-994-4773
95
  }
96
  return responses.get(topic, "Select a topic to see more info.")
 
107
  "What should I know about puberty?",
108
  "Where can I find my nearest OBGYN?"]
109
  )
110
+ title_hotline= "# Select To Get Hotline Number"
111
 
112
  with gr.Tabs():
113
  with gr.TabItem("Resources"):
 
137
  gr.Markdown(title_hotline)
138
  gr.Markdown(hotline_text)
139
  dropdown = gr.Dropdown(choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"],
140
+ label="Choose Your Hotline"
141
  )
142
  output = gr.Textbox(label="Hotline Info", interactive=False)
143