Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -264,10 +264,11 @@ def transfer_learning_forecasting():
|
|
264 |
if st.sidebar.button("Submit"):
|
265 |
for model_name, forecast_df in forecast_results.items():
|
266 |
plot_forecasts(forecast_df, df, f'{model_name} Forecast for {y_col}')
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
|
|
271 |
|
272 |
def dynamic_forecasting():
|
273 |
st.title("Dynamic Forecasting")
|
|
|
264 |
if st.sidebar.button("Submit"):
|
265 |
for model_name, forecast_df in forecast_results.items():
|
266 |
plot_forecasts(forecast_df, df, f'{model_name} Forecast for {y_col}')
|
267 |
+
|
268 |
+
end_time = time.time() # End timing
|
269 |
+
time_taken = end_time - start_time
|
270 |
+
st.success(f"Time taken for {model_choice} forecast: {time_taken:.2f} seconds")
|
271 |
+
|
272 |
|
273 |
def dynamic_forecasting():
|
274 |
st.title("Dynamic Forecasting")
|