CsanadT commited on
Commit
e5cc67a
1 Parent(s): 4b84daf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ st.sidebar.write("-" * 36)
51
  preds = model.predict(data_encoder(weekly_data)).astype(int)
52
  poll_level = get_aplevel(preds.T.reshape(-1, 1))
53
 
54
- next_week = [[(today + timedelta(days=d)).strftime('%Y-%m-%d'),(today + timedelta(days=d)).strftime('%A')] for d in range(1, 7)]
55
 
56
  df = pd.DataFrame(data=[preds, poll_level], index=["AQI", "Air pollution level"], columns=[f"AQI Predictions for {next_day}" for next_day in next_week])
57
 
 
51
  preds = model.predict(data_encoder(weekly_data)).astype(int)
52
  poll_level = get_aplevel(preds.T.reshape(-1, 1))
53
 
54
+ next_week = [[(today + timedelta(days=d)).strftime('%Y-%m-%d'), (today + timedelta(days=d)).strftime('%A')] for d in range(7)]
55
 
56
  df = pd.DataFrame(data=[preds, poll_level], index=["AQI", "Air pollution level"], columns=[f"AQI Predictions for {next_day}" for next_day in next_week])
57