azrai99 commited on
Commit
f0efcd9
·
verified ·
1 Parent(s): 09ac12e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -16
app.py CHANGED
@@ -276,8 +276,8 @@ def forecast_time_series(df, model_type, horizon, max_steps,y_col):
276
  # )
277
 
278
  with tab_forecast:
279
- if model_choice in forecast_results:
280
- df_grid = forecast_results[model_choice]
281
  st.write(df_grid)
282
  # grid_table = AgGrid(
283
  # df_grid,
@@ -542,13 +542,12 @@ def timegpt_fcst():
542
  # )
543
 
544
  with tab_forecast:
545
- if model_choice in forecast_results:
546
- df_grid = forecast_df
547
- st.write(df_grid)
548
- # grid_table = AgGrid(
549
- # df_grid,
550
- # theme="alpine",
551
- # )
552
 
553
 
554
 
@@ -645,13 +644,12 @@ def timegpt_anom():
645
  # )
646
 
647
  with tab_forecast:
648
- if model_choice in forecast_results:
649
- df_grid = forecast_df
650
- st.write(df_grid)
651
- # grid_table = AgGrid(
652
- # df_grid,
653
- # theme="alpine",
654
- # )
655
 
656
 
657
 
 
276
  # )
277
 
278
  with tab_forecast:
279
+ if model_type in forecast_results:
280
+ df_grid = forecast_results[model_type]
281
  st.write(df_grid)
282
  # grid_table = AgGrid(
283
  # df_grid,
 
542
  # )
543
 
544
  with tab_forecast:
545
+ df_grid = forecast_df
546
+ st.write(df_grid)
547
+ # grid_table = AgGrid(
548
+ # df_grid,
549
+ # theme="alpine",
550
+ # )
 
551
 
552
 
553
 
 
644
  # )
645
 
646
  with tab_forecast:
647
+ df_grid = forecast_df
648
+ st.write(df_grid)
649
+ # grid_table = AgGrid(
650
+ # df_grid,
651
+ # theme="alpine",
652
+ # )
 
653
 
654
 
655