James McCool commited on
Commit
1c30ca9
·
1 Parent(s): 649f608

right, dictionary of things

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -664,7 +664,7 @@ if selected_tab == 'Data Load':
664
  projections_file = st.file_uploader("Upload Projections File (CSV or Excel)", type=['csv', 'xlsx', 'xls'])
665
  elif proj_options == 'Paydirt DB':
666
  if st.button("Load from Database"):
667
- projections_file = init_nfl_baselines(type_var, site_var, 'Main Slate')
668
  st.session_state['db_projections_file'] = projections_file
669
  if 'projections_df' in st.session_state:
670
  del st.session_state['projections_df']
 
664
  projections_file = st.file_uploader("Upload Projections File (CSV or Excel)", type=['csv', 'xlsx', 'xls'])
665
  elif proj_options == 'Paydirt DB':
666
  if st.button("Load from Database"):
667
+ projections_file = init_nfl_baselines(type_var, site_var, 'Main Slate')[0]
668
  st.session_state['db_projections_file'] = projections_file
669
  if 'projections_df' in st.session_state:
670
  del st.session_state['projections_df']