Spaces:
Running
Running
spinner transformer
Browse files
streamlit_simulation/app.py
CHANGED
@@ -137,6 +137,14 @@ st.markdown(f"""
|
|
137 |
|
138 |
st.title("Electricity Consumption Forecast: Hourly Simulation")
|
139 |
st.write("Welcome to the simulation interface!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
|
141 |
# ============================== Session State Init ==============================
|
142 |
def init_session_state():
|
|
|
137 |
|
138 |
st.title("Electricity Consumption Forecast: Hourly Simulation")
|
139 |
st.write("Welcome to the simulation interface!")
|
140 |
+
st.info(
|
141 |
+
"**Simulation Overview:**\n\n"
|
142 |
+
"This dashboard provides an hourly electricity consumption forecast using two different models: "
|
143 |
+
"**LightGBM** and a **Transformer (moment-based)**. Both models generate a fresh prediction at every time step "
|
144 |
+
"(i.e., every simulated hour).\n\n"
|
145 |
+
"Note: Since this app runs on a limited CPU on Hugging Face Spaces, the Transformer model may respond slower "
|
146 |
+
"compared to local execution. On a standard local CPU, performance is significantly better."
|
147 |
+
)
|
148 |
|
149 |
# ============================== Session State Init ==============================
|
150 |
def init_session_state():
|