Poojashetty357 commited on
Commit
49c8bbe
·
verified ·
1 Parent(s): f78b91b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,8 +91,8 @@ with gr.Blocks(title="Weather Assistant Bot") as demo:
91
 
92
  with gr.TabItem("🌫️ AQI & Lifestyle Tips"):
93
  gr.Markdown("### Check Air Quality and Get Personalized Recommendations")
94
- city2 = gr.Dropdown(choices=top_cities, label="Select City")
95
- custom_city2 = gr.Textbox(label="Or Enter Your Own City")
96
  aqi_output = gr.Textbox(label="AQI & Recommendation", lines=10)
97
  aqi_btn = gr.Button("Check AQI & Get Tips")
98
  aqi_btn.click(fn=get_recommendation, inputs=[city2, custom_city2], outputs=aqi_output)
 
91
 
92
  with gr.TabItem("🌫️ AQI & Lifestyle Tips"):
93
  gr.Markdown("### Check Air Quality and Get Personalized Recommendations")
94
+ #city2 = gr.Dropdown(choices=top_cities, label="Select City")
95
+ custom_city2 = gr.Textbox(label=" Enter Your Own City")
96
  aqi_output = gr.Textbox(label="AQI & Recommendation", lines=10)
97
  aqi_btn = gr.Button("Check AQI & Get Tips")
98
  aqi_btn.click(fn=get_recommendation, inputs=[city2, custom_city2], outputs=aqi_output)