Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ with tab1:
|
|
| 75 |
col1, col2 = st.columns(2)
|
| 76 |
|
| 77 |
with col1:
|
| 78 |
-
st.subheader("
|
| 79 |
|
| 80 |
# Retrieving building data
|
| 81 |
building_new = retrieve_building()
|
|
@@ -92,7 +92,7 @@ with tab1:
|
|
| 92 |
st.dataframe(building_mag_prediction_data[['Status']].tail(3))
|
| 93 |
|
| 94 |
with col2:
|
| 95 |
-
st.subheader("
|
| 96 |
|
| 97 |
# Making the predictions and getting the latest data for radar data
|
| 98 |
building_rad_prediction_data = building_new[['time', 'radar_0', 'radar_1', 'radar_2', 'radar_3', 'radar_4', 'radar_5', 'radar_6', 'radar_7', 'temperature', 'et0_fao_evapotranspiration']]
|
|
@@ -152,7 +152,7 @@ with tab2:
|
|
| 152 |
col1, col2 = st.columns(2)
|
| 153 |
|
| 154 |
with col1:
|
| 155 |
-
st.subheader("
|
| 156 |
# Making the predictions and getting the latest data for magnetic field data
|
| 157 |
bikelane_mag_prediction_data = bikelane_new[['time', 'x', 'y', 'z', 'temperature', 'et0_fao_evapotranspiration']]
|
| 158 |
bikelane_mag_prediction_data['et0_fao_evapotranspiration'] = bikelane_mag_prediction_data['et0_fao_evapotranspiration'].apply(fill_nan_with_zero)
|
|
@@ -165,7 +165,7 @@ with tab2:
|
|
| 165 |
st.dataframe(bikelane_mag_prediction_data[['Status']].tail(3))
|
| 166 |
|
| 167 |
with col2:
|
| 168 |
-
st.subheader("
|
| 169 |
# Making the predictions and getting the latest data for radar data
|
| 170 |
bikelane_rad_prediction_data = bikelane_new[['time', 'radar_0', 'radar_1', 'radar_2', 'radar_3', 'radar_4', 'radar_5', 'radar_6', 'radar_7', 'temperature', 'et0_fao_evapotranspiration']]
|
| 171 |
bikelane_rad_prediction_data['et0_fao_evapotranspiration'] = bikelane_rad_prediction_data['et0_fao_evapotranspiration'].apply(fill_nan_with_zero)
|
|
|
|
| 75 |
col1, col2 = st.columns(2)
|
| 76 |
|
| 77 |
with col1:
|
| 78 |
+
st.subheader("Magnetic field prediction")
|
| 79 |
|
| 80 |
# Retrieving building data
|
| 81 |
building_new = retrieve_building()
|
|
|
|
| 92 |
st.dataframe(building_mag_prediction_data[['Status']].tail(3))
|
| 93 |
|
| 94 |
with col2:
|
| 95 |
+
st.subheader("Radar prediction")
|
| 96 |
|
| 97 |
# Making the predictions and getting the latest data for radar data
|
| 98 |
building_rad_prediction_data = building_new[['time', 'radar_0', 'radar_1', 'radar_2', 'radar_3', 'radar_4', 'radar_5', 'radar_6', 'radar_7', 'temperature', 'et0_fao_evapotranspiration']]
|
|
|
|
| 152 |
col1, col2 = st.columns(2)
|
| 153 |
|
| 154 |
with col1:
|
| 155 |
+
st.subheader("Magnetic field prediction")
|
| 156 |
# Making the predictions and getting the latest data for magnetic field data
|
| 157 |
bikelane_mag_prediction_data = bikelane_new[['time', 'x', 'y', 'z', 'temperature', 'et0_fao_evapotranspiration']]
|
| 158 |
bikelane_mag_prediction_data['et0_fao_evapotranspiration'] = bikelane_mag_prediction_data['et0_fao_evapotranspiration'].apply(fill_nan_with_zero)
|
|
|
|
| 165 |
st.dataframe(bikelane_mag_prediction_data[['Status']].tail(3))
|
| 166 |
|
| 167 |
with col2:
|
| 168 |
+
st.subheader("Radar prediction")
|
| 169 |
# Making the predictions and getting the latest data for radar data
|
| 170 |
bikelane_rad_prediction_data = bikelane_new[['time', 'radar_0', 'radar_1', 'radar_2', 'radar_3', 'radar_4', 'radar_5', 'radar_6', 'radar_7', 'temperature', 'et0_fao_evapotranspiration']]
|
| 171 |
bikelane_rad_prediction_data['et0_fao_evapotranspiration'] = bikelane_rad_prediction_data['et0_fao_evapotranspiration'].apply(fill_nan_with_zero)
|