Update app.py
Browse files
app.py
CHANGED
|
@@ -821,7 +821,7 @@ with tab4:
|
|
| 821 |
with col_t2:
|
| 822 |
st.metric(
|
| 823 |
# SỬA: Dùng forecast_t2_ts để hiển thị giờ thực tế (+2h)
|
| 824 |
-
label=f"Forecast @ {forecast_t2_ts.strftime('%H:%M')}",
|
| 825 |
value=f"{t_plus_2h_value:.1f}°C"
|
| 826 |
)
|
| 827 |
|
|
@@ -829,7 +829,7 @@ with tab4:
|
|
| 829 |
with col_t3:
|
| 830 |
st.metric(
|
| 831 |
# SỬA: Dùng forecast_t3_ts để hiển thị giờ thực tế (+3h)
|
| 832 |
-
label=f"Forecast @ {forecast_t3_ts.strftime('%H:%M')}",
|
| 833 |
value=f"{t_plus_3h_value:.1f}°C"
|
| 834 |
)
|
| 835 |
|
|
@@ -837,7 +837,7 @@ with tab4:
|
|
| 837 |
with col_t24:
|
| 838 |
st.metric(
|
| 839 |
# SỬA: Dùng forecast_t24_ts để hiển thị giờ thực tế (+24h)
|
| 840 |
-
label=f"Forecast @ {forecast_t24_ts.strftime('%H:%M')}",
|
| 841 |
value=f"{t_plus_24h_metric_value:.1f}°C"
|
| 842 |
)
|
| 843 |
|
|
|
|
| 821 |
with col_t2:
|
| 822 |
st.metric(
|
| 823 |
# SỬA: Dùng forecast_t2_ts để hiển thị giờ thực tế (+2h)
|
| 824 |
+
label=f"Forecast @ {forecast_t2_ts.strftime('%H:%M')} (T+2H)",
|
| 825 |
value=f"{t_plus_2h_value:.1f}°C"
|
| 826 |
)
|
| 827 |
|
|
|
|
| 829 |
with col_t3:
|
| 830 |
st.metric(
|
| 831 |
# SỬA: Dùng forecast_t3_ts để hiển thị giờ thực tế (+3h)
|
| 832 |
+
label=f"Forecast @ {forecast_t3_ts.strftime('%H:%M')} (T+3H)",
|
| 833 |
value=f"{t_plus_3h_value:.1f}°C"
|
| 834 |
)
|
| 835 |
|
|
|
|
| 837 |
with col_t24:
|
| 838 |
st.metric(
|
| 839 |
# SỬA: Dùng forecast_t24_ts để hiển thị giờ thực tế (+24h)
|
| 840 |
+
label=f"Forecast @ {forecast_t24_ts.strftime('%H:%M')} (T+24H)",
|
| 841 |
value=f"{t_plus_24h_metric_value:.1f}°C"
|
| 842 |
)
|
| 843 |
|