Update app.py
Browse files134 unmodified lines135136137138138139140141142140141142143144145146134 unmodified lines with gr.TabItem("Call a Hotline"): gr.Markdown(title_hotline) gr.Markdown(hotline_text) choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"], dropdown = gr.Dropdown(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 made dropdown.change(fn=show_info, inputs=dropdown, outputs=output) ) 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