Multichem commited on
Commit
83a1f7a
·
verified ·
1 Parent(s): 3fffb63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -157,12 +157,12 @@ with col3:
157
  slate_teams = site_slates['FD Overall'].values.tolist()
158
  raw_baselines = load_fd_player_projections(all_fd_player_projections)
159
  raw_baselines = raw_baselines[raw_baselines['Team'].isin(slate_teams)]
160
- split_var1 = st.radio("Would you like to view the whole slate or just specific games?", ('Full Slate Run', 'Specific Games'), key='split_var1')
161
  if split_var1 == 'Specific Games':
162
- team_var1 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='team_var1')
163
  elif split_var1 == 'Full Slate Run':
164
  team_var1 = raw_baselines.Team.values.tolist()
165
- pos_split1 = st.radio("Are you viewing all positions, specific groups, or specific positions?", ('All Positions', 'Specific Positions'), key='pos_split1')
166
  if pos_split1 == 'Specific Positions':
167
  pos_var1 = st.multiselect('What Positions would you like to view?', options = ['SP', 'P', 'C', '1B', '2B', '3B', 'SS', 'OF'])
168
  elif pos_split1 == 'All Positions':
 
157
  slate_teams = site_slates['FD Overall'].values.tolist()
158
  raw_baselines = load_fd_player_projections(all_fd_player_projections)
159
  raw_baselines = raw_baselines[raw_baselines['Team'].isin(slate_teams)]
160
+ split_var1 = st.radio("Would you like to view the whole slate or just specific games?", ('Full Slate Run', 'Specific Games'), key='custom_split_var1')
161
  if split_var1 == 'Specific Games':
162
+ team_var1 = st.multiselect('Which teams would you like to include in the ROO?', options = raw_baselines['Team'].unique(), key='custom_team_var1')
163
  elif split_var1 == 'Full Slate Run':
164
  team_var1 = raw_baselines.Team.values.tolist()
165
+ pos_split1 = st.radio("Are you viewing all positions, specific groups, or specific positions?", ('All Positions', 'Specific Positions'), key='custom_pos_split1')
166
  if pos_split1 == 'Specific Positions':
167
  pos_var1 = st.multiselect('What Positions would you like to view?', options = ['SP', 'P', 'C', '1B', '2B', '3B', 'SS', 'OF'])
168
  elif pos_split1 == 'All Positions':