Update app.py
Browse files87 unmodified lines88899091929391929394959610 unmodified lines10710810911011011111211323 unmodified lines13713813914014014114214387 unmodified lines
def show_info(topic): responses = { "General Health": 18009949662, "Maternal Mental Health": 18338526262, "Domestic Violence": 18007997233, "General Health": 1-800-994-9662, "Maternal Mental Health": 1-833-852-6262, "Domestic Violence": 1-800-799-7233, "Postpartum Support": 1-800-994-4773 } return responses.get(topic, "Select a topic to see more info.")10 unmodified lines "What should I know about puberty?", "Where can I find my nearest OBGYN?"] ) title_hotline= "# Select to get hotline number" title_hotline= "# Select To Get Hotline Number" with gr.Tabs(): with gr.TabItem("Resources"): 23 unmodified lines gr.Markdown(title_hotline) gr.Markdown(hotline_text) dropdown = gr.Dropdown(choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"], label="Choose your hotline" label="Choose Your Hotline" ) output = gr.Textbox(label="Hotline Info", interactive=False) app.py+5-5