James McCool
commited on
Commit
·
544cf42
1
Parent(s):
1599cba
Update player selection and removal labels in app.py
Browse files- Changed labels for player selection and removal to clarify user actions, enhancing the user interface.
- Updated the multiselect prompts to specify "lock" and "remove" actions, improving overall user experience and understanding.
app.py
CHANGED
@@ -285,10 +285,10 @@ with tab2:
|
|
285 |
st.session_state['stack_size_names'] = st.multiselect("Select stack sizes", options=st.session_state['display_contest_info']['stack_size'].unique(), default=[])
|
286 |
with player_var:
|
287 |
st.session_state['player_parse_var'] = st.selectbox("Do you want to view lineups with specific player(s)?", ['All', 'Specific'])
|
288 |
-
st.session_state['player_names'] = st.multiselect("Select players", options=st.session_state['unique_players'], default=[])
|
289 |
with remove_var:
|
290 |
st.session_state['remove_var'] = st.selectbox("Do you want to remove a specific player(s)?", ['No', 'Yes'])
|
291 |
-
st.session_state['remove_names'] = st.multiselect("Select players", options=st.session_state['unique_players'], default=[])
|
292 |
submitted = st.form_submit_button("Submit")
|
293 |
if submitted:
|
294 |
if 'player_frame' in st.session_state:
|
|
|
285 |
st.session_state['stack_size_names'] = st.multiselect("Select stack sizes", options=st.session_state['display_contest_info']['stack_size'].unique(), default=[])
|
286 |
with player_var:
|
287 |
st.session_state['player_parse_var'] = st.selectbox("Do you want to view lineups with specific player(s)?", ['All', 'Specific'])
|
288 |
+
st.session_state['player_names'] = st.multiselect("Select players to lock", options=st.session_state['unique_players'], default=[])
|
289 |
with remove_var:
|
290 |
st.session_state['remove_var'] = st.selectbox("Do you want to remove a specific player(s)?", ['No', 'Yes'])
|
291 |
+
st.session_state['remove_names'] = st.multiselect("Select players to remove", options=st.session_state['unique_players'], default=[])
|
292 |
submitted = st.form_submit_button("Submit")
|
293 |
if submitted:
|
294 |
if 'player_frame' in st.session_state:
|