Update app.py
Browse files134 unmodified lines135136137138139140141142143144145134 unmodified lineswith gr.TabItem("Call a Hotline"):gr.Markdown(title_hotline)gr.Markdown(hotline_text)choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"],label="Choose your hotline"result_text = gr.Textbox(label="Hotlines")# Show response when a choice is madedropdown.change(fn=show_info, inputs=dropdown, outputs=output)#with gr.Tab("Educational PDFs"):# gr.Markdown("### 📘 Helpful Resources")134 unmodified lines135136137138139140141142143144145146134 unmodified lineswith gr.TabItem("Call a Hotline"):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")output = gr.Textbox(label="Hotline Info", interactive=False)dropdown.change(fn=show_info, inputs=dropdown, outputs=output)#with gr.Tab("Educational PDFs"):# gr.Markdown("### 📘 Helpful Resources")
app.py+5-4