Spaces:
Running
Running
James McCool
commited on
Commit
·
3ae795f
1
Parent(s):
db1e9fe
Update app.py to correct the key for the team selection multiselect in the Player ROO section, ensuring proper state management and enhancing user experience.
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ with tab2:
|
|
165 |
pos_var2 = st.radio("Which position group would you like to view?", ('All', 'Pitchers', 'Hitters'), key='pos_var2')
|
166 |
team_var2 = st.selectbox("Which team would you like to view?", ['All', 'Specific'], key='team_var2')
|
167 |
if team_var2 == 'Specific':
|
168 |
-
team_select2 = st.multiselect("Which team would you like to view?", roo_data['Team'].unique(), key='
|
169 |
else:
|
170 |
team_select2 = None
|
171 |
if slate_type_var2 == 'Regular':
|
|
|
165 |
pos_var2 = st.radio("Which position group would you like to view?", ('All', 'Pitchers', 'Hitters'), key='pos_var2')
|
166 |
team_var2 = st.selectbox("Which team would you like to view?", ['All', 'Specific'], key='team_var2')
|
167 |
if team_var2 == 'Specific':
|
168 |
+
team_select2 = st.multiselect("Which team would you like to view?", roo_data['Team'].unique(), key='team_select2')
|
169 |
else:
|
170 |
team_select2 = None
|
171 |
if slate_type_var2 == 'Regular':
|