Multichem commited on
Commit
13c63bc
·
1 Parent(s): 0b0af72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- player_check = st.selectbox('Select player to create comps', options = proj_dataframe['Player'].unique(), key='dk_player')
 
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