Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ 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=[
|
57 |
|
58 |
st.write(df)
|
59 |
progress_bar.progress(100)
|
|
|
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=[next_day for next_day in next_week])
|
57 |
|
58 |
st.write(df)
|
59 |
progress_bar.progress(100)
|