Aishu-7 commited on
Commit
62615cd
Β·
verified Β·
1 Parent(s): b817195

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -127,24 +127,24 @@ with gr.Blocks(theme=theme, css = css) as demo:
127
  description = "Ask me anything about online safety!",
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
- title_hotline= "# Select To Get Hotline Number"
131
 
132
- with gr.Tabs():
133
- with gr.TabItem("Resources"):
134
- gr.Markdown("### Resources")
135
- open_google = gr.Button(value="πŸ—“οΈ Period Tracker", link="https://drive.google.com/file/d/1_KNELAUDLLidwAT3fs2JBuO1yPgMGoDv/view")
136
- open_google = gr.Button(value="πŸ‘©πŸ»β€πŸΌ New Moms Support Group", link="https://www.instagram.com/firsttimemomsacademy/")
137
 
138
 
139
- with gr.TabItem("Call a Hotline"):
140
- gr.Markdown(title_hotline)
141
  #gr.Markdown(hotline_text)
142
- dropdown = gr.Dropdown(choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"],
143
- label="Choose Your Hotline"
144
  )
145
- output = gr.Textbox(label="Hotline Info", interactive=False)
146
 
147
- dropdown.change(fn=show_info, inputs=dropdown, outputs=output)
148
  #with gr.Tab("Educational PDFs"):
149
  # gr.Markdown("### πŸ“˜ Helpful Resources")
150
 
 
127
  description = "Ask me anything about online safety!",
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
+ #title_hotline= "# Select To Get Hotline Number"
131
 
132
+ #with gr.Tabs():
133
+ #with gr.TabItem("Resources"):
134
+ #gr.Markdown("### Resources")
135
+ #open_google = gr.Button(value="πŸ—“οΈ Period Tracker", link="https://drive.google.com/file/d/1_KNELAUDLLidwAT3fs2JBuO1yPgMGoDv/view")
136
+ #open_google = gr.Button(value="πŸ‘©πŸ»β€πŸΌ New Moms Support Group", link="https://www.instagram.com/firsttimemomsacademy/")
137
 
138
 
139
+ # with gr.TabItem("Call a Hotline"):
140
+ #gr.Markdown(title_hotline)
141
  #gr.Markdown(hotline_text)
142
+ #dropdown = gr.Dropdown(choices=["General Health", "Maternal Mental Health", "Domestic Violence", "Postpartum Support"],
143
+ #label="Choose Your Hotline"
144
  )
145
+ #output = gr.Textbox(label="Hotline Info", interactive=False)
146
 
147
+ #dropdown.change(fn=show_info, inputs=dropdown, outputs=output)
148
  #with gr.Tab("Educational PDFs"):
149
  # gr.Markdown("### πŸ“˜ Helpful Resources")
150