James McCool commited on
Commit
104eab2
·
1 Parent(s): ac2e4a5

adjusting salary max

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -519,7 +519,7 @@ if selected_tab == 'Handbuilder':
519
  with handbuilder_player_filters_column:
520
  pos_select3 = st.multiselect("Select your position(s)", options=['QB', 'RB', 'WR', 'TE', 'UTIL', 'DST'], key='pos_select3_multiselect')
521
  with handbuilder_player_filters_salary_column:
522
- salary_var = st.number_input("Salary Max", min_value = 0, max_value = 20000, value = 20000, step = 100, key='handbuilder_salary_max_input')
523
 
524
  # --- TEAM FILTER UI ---
525
  with st.expander("Team Filters"):
@@ -943,7 +943,7 @@ if selected_tab == 'Player ROO':
943
  team_var2 = raw_baselines.Team.values.tolist()
944
  pos_split2 = st.selectbox('What Position table would you like to view?', options = ['Overall', 'QB', 'RB', 'WR', 'TE'], key='pos_split2_selectbox')
945
  pos_combos2 = st.multiselect('If Overall, specific positions?', options = ['QB', 'RB', 'WR', 'TE', 'DST', 'K'], default = ['QB', 'RB', 'WR', 'TE', 'DST', 'K'], key='pos_combos2_multiselect')
946
- sal_var2 = st.slider("Is there a certain price range you want to view?", 0, 20000, (0, 20000), key='sal_var2_slider')
947
 
948
  if pos_split2 == 'Overall':
949
  raw_baselines = raw_baselines[raw_baselines['version'] == 'overall']
 
519
  with handbuilder_player_filters_column:
520
  pos_select3 = st.multiselect("Select your position(s)", options=['QB', 'RB', 'WR', 'TE', 'UTIL', 'DST'], key='pos_select3_multiselect')
521
  with handbuilder_player_filters_salary_column:
522
+ salary_var = st.number_input("Salary Max", min_value = 0, max_value = 25000, value = 25000, step = 100, key='handbuilder_salary_max_input')
523
 
524
  # --- TEAM FILTER UI ---
525
  with st.expander("Team Filters"):
 
943
  team_var2 = raw_baselines.Team.values.tolist()
944
  pos_split2 = st.selectbox('What Position table would you like to view?', options = ['Overall', 'QB', 'RB', 'WR', 'TE'], key='pos_split2_selectbox')
945
  pos_combos2 = st.multiselect('If Overall, specific positions?', options = ['QB', 'RB', 'WR', 'TE', 'DST', 'K'], default = ['QB', 'RB', 'WR', 'TE', 'DST', 'K'], key='pos_combos2_multiselect')
946
+ sal_var2 = st.slider("Is there a certain price range you want to view?", 0, 25000, (0, 25000), key='sal_var2_slider')
947
 
948
  if pos_split2 == 'Overall':
949
  raw_baselines = raw_baselines[raw_baselines['version'] == 'overall']