Update app.py
Browse files87 unmodified lines888990919293947 unmodified lines10210310410510610710810410510610710810911011111210911011111211311411511611711811912012112212387 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()) gr.ChatInterface(respond, type = "messages", #theme = gr.themes.Soft(7 unmodified lines "What should I know about puberty?", "Where can I find my nearest OBGYN?"] ) title_hotline= "# Select your city to find the nearest hotline" hotline_text= """### Placeholder""" with gr.Tabs(): with gr.Tab("Resources"): gr.Markdown("### Resources") gr.HTML(""" <a href="https://drive.google.com/file/d/1_KNELAUDLLidwAT3fs2JBuO1yPgMGoDv/view" target="_blank"> # <button style="font-size:16px;padding:10px 20px;margin-top:10px;"> # 📄 Period Tracker # </button> </a> # """) with gr.TabItem("Resources"): gr.Markdown("### Resources") gr.HTML(""" <a href="https://drive.google.com/file/d/1_KNELAUDLLidwAT3fs2JBuO1yPgMGoDv/view" target="_blank"> # <button style="font-size:16px;padding:10px 20px;margin-top:10px;"> # 📄 Period Tracker # </button> </a> # """) with gr.TabItem("Call a Hotline"): gr.Markdown(title_hotline) gr.Markdown(hotline_text) #with gr.Tab("Educational PDFs"): # gr.Markdown("### 📘 Helpful Resources")app.py+17-9