LeonceNsh commited on
Commit
838a7a0
·
verified ·
1 Parent(s): 5a2a898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -179,19 +179,6 @@ with gr.Blocks(title="US Population Health Dashboard") as demo:
179
  correlation_plot = gr.Plot()
180
  correlation_metrics.change(correlation_interface, inputs=correlation_metrics, outputs=correlation_plot)
181
 
182
- with gr.Tab("Unemployment Rate Map"):
183
- gr.Markdown("### Geographical Distribution of Unemployment Rates")
184
- dates = county_unemployment_melted['date'].unique().tolist()
185
- unemployment_date = gr.Slider(label="Select a Date", minimum=min(dates), maximum=max(dates), step=1, value=dates[0])
186
- unemployment_plot = gr.Plot()
187
- unemployment_date.change(unemployment_interface, inputs=unemployment_date, outputs=unemployment_plot)
188
-
189
- with gr.Tab("Poverty Rate Map"):
190
- gr.Markdown("### Geographical Distribution of Poverty Rates")
191
- years = zcta_poverty_melted['year'].unique().astype(int).tolist()
192
- poverty_year = gr.Slider(label="Select a Year", minimum=min(years), maximum=max(years), step=1, value=years[0])
193
- poverty_plot = gr.Plot()
194
- poverty_year.change(poverty_interface, inputs=poverty_year, outputs=poverty_plot)
195
 
196
  # ========================
197
  # Launch the App
 
179
  correlation_plot = gr.Plot()
180
  correlation_metrics.change(correlation_interface, inputs=correlation_metrics, outputs=correlation_plot)
181
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
 
183
  # ========================
184
  # Launch the App