James McCool commited on
Commit
27c2660
·
1 Parent(s): 47c6390

Add CFB position selection to contest analysis in app.py

Browse files

- Introduced a new multiselect option for positions specific to CFB (QB, RB, WR) in the contest analysis tab.
- This enhancement allows users to select positions relevant to college football, improving the functionality and user experience of the application.

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -615,6 +615,8 @@ if selected_tab == 'Contest Analysis':
615
  pos_select = st.multiselect("Select your position(s)", ['All the same position', 'So', 'Yeah', 'Idk'], key='pos_select')
616
  elif st.session_state['sport_select'] == 'NAS':
617
  pos_select = st.multiselect("Select your position(s)", ['All the same position', 'So', 'Yeah', 'Idk'], key='pos_select')
 
 
618
  submitted = st.form_submit_button("Submit")
619
  if submitted:
620
  if pos_var == 'Specific':
 
615
  pos_select = st.multiselect("Select your position(s)", ['All the same position', 'So', 'Yeah', 'Idk'], key='pos_select')
616
  elif st.session_state['sport_select'] == 'NAS':
617
  pos_select = st.multiselect("Select your position(s)", ['All the same position', 'So', 'Yeah', 'Idk'], key='pos_select')
618
+ elif st.session_state['sport_select'] == 'CFB':
619
+ pos_select = st.multiselect("Select your position(s)", ['QB', 'RB', 'WR'], key='pos_select')
620
  submitted = st.form_submit_button("Submit")
621
  if submitted:
622
  if pos_var == 'Specific':