Update app.py
Browse files85 unmodified lines86878889909132 unmodified lines12412512612712812913013113285 unmodified linesdef display_image():return "Screenshot 2025-06-12 at 10.53.59 AM.png"with gr.Blocks (theme = theme) as chatbot:gr.Image(display_image())32 unmodified lines</a># """)with gr.TabItem("Call a Hotline"):gr.Markdown(title_hotline)gr.Markdown(hotline_text)#with gr.Tab("Educational PDFs"):# gr.Markdown("### 📘 Helpful Resources")85 unmodified lines868788899091929394959697989910032 unmodified lines13313413513613713813914014114214314414585 unmodified linesdef display_image():return "Screenshot 2025-06-12 at 10.53.59 AM.png"def show_info(topic):responses = {"General Health": 18009949662,"Maternal Mental Health": 18338526262,"Domestic Violence": 18007997233,"Postpartum Support": 1-800-994-4773}return responses.get(topic, "Select a topic to see more info.")with gr.Blocks (theme = theme) as chatbot:gr.Image(display_image())32 unmodified lines</a># """)with 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")
app.py+16-3