James McCool commited on
Commit
1d418c1
·
1 Parent(s): 227c35b

Update init_baselines to include bet_sheet in streamlit_app.py for enhanced data management.

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -143,7 +143,7 @@ def calculate_no_vig(row):
143
  def convert_df_to_csv(df):
144
  return df.to_csv().encode('utf-8')
145
 
146
- game_model, overall_stats, timestamp, prop_frame, prop_trends, pick_frame, market_props = init_baselines()
147
  qb_stats = overall_stats[overall_stats['Position'] == 'QB']
148
  qb_stats = qb_stats.drop_duplicates(subset=['Player', 'Position'])
149
  non_qb_stats = overall_stats[overall_stats['Position'] != 'QB']
 
143
  def convert_df_to_csv(df):
144
  return df.to_csv().encode('utf-8')
145
 
146
+ game_model, overall_stats, timestamp, prop_frame, prop_trends, pick_frame, market_props, bet_sheet = init_baselines()
147
  qb_stats = overall_stats[overall_stats['Position'] == 'QB']
148
  qb_stats = qb_stats.drop_duplicates(subset=['Player', 'Position'])
149
  non_qb_stats = overall_stats[overall_stats['Position'] != 'QB']