timegpt-forecaster-streamlit icon indicating copy to clipboard operation
timegpt-forecaster-streamlit copied to clipboard

Time Series Forecasting App does not work with example electricity data

Open lincolnharmer opened this issue 1 year ago • 1 comments

When using the sample electricity data in the app I get the following error. I also get this error when using my own data that is in the same format.

TypeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app). Traceback: File "/home/adminuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script exec(code, module.dict) File "/mount/src/timegpt-forecaster-streamlit/app.py", line 366, in main() File "/mount/src/timegpt-forecaster-streamlit/app.py", line 340, in main data, X_df, X_df_future, forecast_results, weights_df = perform_forecast( File "/mount/src/timegpt-forecaster-streamlit/app.py", line 141, in perform_forecast forecast_results, weights = predict_from_api( File "/mount/src/timegpt-forecaster-streamlit/app.py", line 119, in predict_from_api y_hat_df = pd.DataFrame(**response['forecast'])

lincolnharmer avatar Nov 25 '23 04:11 lincolnharmer