kk90ujhun commited on
Commit
fcccb19
·
1 Parent(s): 8ebbd91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,9 +46,9 @@ def pred(name):
46
  'Snow, Rain, Freezing Drizzle/Freezing Rain, Overcast','Snow, Rain, Ice, Overcast',
47
  'Snow, Rain, Overcast','Snow, Rain, Partially cloudy'],[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])
48
  df_weather = df_weather.drop(columns=["date"]).fillna(0)
49
- df_weather["aqi"] = 0
50
  print(df_weather)
51
- print(feature_view.columns)
52
  preds = model.predict(df_weather)
53
  print(preds)
54
  if(i!=0):
 
46
  'Snow, Rain, Freezing Drizzle/Freezing Rain, Overcast','Snow, Rain, Ice, Overcast',
47
  'Snow, Rain, Overcast','Snow, Rain, Partially cloudy'],[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15])
48
  df_weather = df_weather.drop(columns=["date"]).fillna(0)
49
+ df_weather.loc[0,"aqi"] = 0
50
  print(df_weather)
51
+ # print(feature_view.columns)
52
  preds = model.predict(df_weather)
53
  print(preds)
54
  if(i!=0):