Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def air_quality(city):
|
|
21 |
weather_data = get_weather_df([get_weather_data(city,(datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
|
22 |
weather_df = weather_df.append(weather_data)
|
23 |
|
24 |
-
weather_df = weather_df.drop(columns=["feelslikemin", "feelslikemax", "precipprob", "snowdepth", "uvindex", "date","city","conditions"]).fillna(0)
|
25 |
|
26 |
mr = project.get_model_registry()
|
27 |
model = mr.get_model("gradient_boost_model", version=2)
|
|
|
21 |
weather_data = get_weather_df([get_weather_data(city,(datetime.now() + timedelta(days=i)).strftime("%Y-%m-%d"))])
|
22 |
weather_df = weather_df.append(weather_data)
|
23 |
|
24 |
+
#weather_df = weather_df.drop(columns=["feelslikemin", "feelslikemax", "precipprob", "snowdepth", "uvindex", "date","city","conditions"]).fillna(0)
|
25 |
|
26 |
mr = project.get_model_registry()
|
27 |
model = mr.get_model("gradient_boost_model", version=2)
|