Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,7 +175,8 @@ with tab2:
|
|
| 175 |
st.session_state.player_freq['Freq'] = st.session_state.player_freq['Freq'] / len(st.session_state.display_portfolio)
|
| 176 |
st.session_state.player_freq = st.session_state.player_freq.set_index('Player')
|
| 177 |
with col3:
|
| 178 |
-
|
|
|
|
| 179 |
if st.button('Simulate appropriate pivots'):
|
| 180 |
with hold_container:
|
| 181 |
|
|
|
|
| 175 |
st.session_state.player_freq['Freq'] = st.session_state.player_freq['Freq'] / len(st.session_state.display_portfolio)
|
| 176 |
st.session_state.player_freq = st.session_state.player_freq.set_index('Player')
|
| 177 |
with col3:
|
| 178 |
+
if proj_file is not None:
|
| 179 |
+
player_check = st.selectbox('Select player to create comps', options = proj_dataframe['Player'].unique(), key='dk_player')
|
| 180 |
if st.button('Simulate appropriate pivots'):
|
| 181 |
with hold_container:
|
| 182 |
|