Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 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)
|