Aishu-7 commited on
Commit
e712204
ยท
verified ยท
1 Parent(s): 2af3ef9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -0
app.py CHANGED
@@ -128,6 +128,25 @@ with gr.Blocks(theme=theme, css = css) as demo:
128
  examples = ["Generate me some strong passwords to use.", "What are some security measures I can take to stay safe online?", "Explain how a data breach works.", "How do I know if a message is a scam or not?"]
129
  )
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  demo.launch()
133
 
 
128
  examples = ["Generate me some strong passwords to use.", "What are some security measures I can take to stay safe online?", "Explain how a data breach works.", "How do I know if a message is a scam or not?"]
129
  )
130
 
131
+ with gr.Tabs():
132
+ with gr.TabItem("Resources"):
133
+ gr.Markdown("### Resources")
134
+ open_google = gr.Button(value="๐Ÿ—“๏ธ Period Tracker", link="https://drive.google.com/file/d/1_KNELAUDLLidwAT3fs2JBuO1yPgMGoDv/view")
135
+ open_google = gr.Button(value="๐Ÿ‘ฉ๐Ÿปโ€๐Ÿผ New Moms Support Group", link="https://www.instagram.com/firsttimemomsacademy/")
136
+
137
+
138
+ with gr.TabItem("Call a Hotline"):
139
+ gr.Markdown(title_hotline)
140
+ #gr.Markdown(hotline_text)
141
+ dropdown = gr.Dropdown(choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"],
142
+ label="Choose Your Hotline"
143
+ )
144
+ output = gr.Textbox(label="Hotline Info", interactive=False)
145
+
146
+ dropdown.change(fn=show_info, inputs=dropdown, outputs=output)
147
+ #with gr.Tab("Educational PDFs"):
148
+ # gr.Markdown("### ๐Ÿ“˜ Helpful Resources")
149
+
150
 
151
  demo.launch()
152