rrk757 commited on
Commit
f891346
·
verified ·
1 Parent(s): 7759e89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -9
app.py CHANGED
@@ -72,16 +72,13 @@ with gr.Blocks() as demo:
72
  </button>
73
  </a>
74
  """)
75
- gr.Markdown("### 📚 Learn About Topics")
76
-
77
- dropdown = gr.Dropdown(
78
- choices=["Puberty", "Periods", "Hormones", "Self-care"],
79
- label="Choose a topic",
80
- interactive=True
81
  )
82
-
83
- output = gr.Textbox(label="Info", lines=4, interactive=False)
84
-
85
  # Show response when a choice is made
86
  dropdown.change(fn=show_info, inputs=dropdown, outputs=output)
87
 
 
72
  </button>
73
  </a>
74
  """)
75
+ with gr.Tab("OBGYN Finder") as obgyn_tab:
76
+ gr.Markdown("### Find a Nearby OBGYN")
77
+ location_dropdown = gr.Dropdown(
78
+ choices=["New York", "California", "Texas", "Florida"],
79
+ label="Choose your state"
 
80
  )
81
+ result_text = gr.Textbox(label="Nearby Clinics")
 
 
82
  # Show response when a choice is made
83
  dropdown.change(fn=show_info, inputs=dropdown, outputs=output)
84