Cosmographer commited on
Commit
c6b3ef7
·
verified ·
1 Parent(s): fe084c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1548,7 +1548,7 @@ with gr.Blocks(css=css, title="DataSynth — Analytics Hub") as demo:
1548
  # fallback: empty
1549
  return gr.Dropdown.update(choices=cols), gr.Dropdown.update(choices=cols)
1550
 
1551
- profile_md.change(fn=_populate_prepare, inputs=[profile_state], outputs=[date_col, target_col])
1552
 
1553
  # apply preparation
1554
  def _apply_preparation(df_path, impute_num, impute_cat, fill_val, outlier_cols_txt, outlier_method, date_col_sel, date_fmt, text_cols_txt, transform_cols_txt, transform_method, drop_highcard_flag):
 
1548
  # fallback: empty
1549
  return gr.Dropdown.update(choices=cols), gr.Dropdown.update(choices=cols)
1550
 
1551
+ profile_md.change(fn=_populate_prepare, inputs=[profile_state], outputs=[date_col_selected, target_col])
1552
 
1553
  # apply preparation
1554
  def _apply_preparation(df_path, impute_num, impute_cat, fill_val, outlier_cols_txt, outlier_method, date_col_sel, date_fmt, text_cols_txt, transform_cols_txt, transform_method, drop_highcard_flag):