Yasaman commited on
Commit
996f292
1 Parent(s): 17bb76d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)