Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -275,7 +275,7 @@ with tab2:
|
|
275 |
hold_container = st.empty()
|
276 |
with col6:
|
277 |
if 'final_Proj' in st.session_state:
|
278 |
-
player_swap = st.selectbox('Select player to swap to:', options = st.session_state.final_Proj['Player'].unique(), key='
|
279 |
if st.button('Make swaps'):
|
280 |
with hold_container:
|
281 |
st.session_state.display_portfolio.replace(player_check, player_swap, inplace=True)
|
|
|
275 |
hold_container = st.empty()
|
276 |
with col6:
|
277 |
if 'final_Proj' in st.session_state:
|
278 |
+
player_swap = st.selectbox('Select player to swap to:', options = st.session_state.final_Proj['Player'].unique(), key='dk_swap')
|
279 |
if st.button('Make swaps'):
|
280 |
with hold_container:
|
281 |
st.session_state.display_portfolio.replace(player_check, player_swap, inplace=True)
|