Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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='
|
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='
|
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='
|
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':
|