Multichem commited on
Commit
ad95fa7
·
1 Parent(s): 74e7a6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -656,7 +656,8 @@ with tab2:
656
 
657
  slate_var1 = 'User'
658
  site_var1 = 'Draftkings'
659
- raw_baselines = proj_dataframe[['Player', 'Salary', 'Position', 'Team', 'Opp', 'Median', 'Own']]
 
660
  st.info("If you are uploading a portfolio, note that there is an adjustments to projections and deviation mapping to prevent 'Projection Bias' and create a fair simulation")
661
  insert_port1 = st.selectbox("Are you uploading a portfolio?", ('No', 'Yes'), key='insert_port1')
662
  if insert_port1 == 'Yes':
 
656
 
657
  slate_var1 = 'User'
658
  site_var1 = 'Draftkings'
659
+ if proj_dataframe is not None:
660
+ raw_baselines = proj_dataframe[['Player', 'Salary', 'Position', 'Team', 'Opp', 'Median', 'Own']]
661
  st.info("If you are uploading a portfolio, note that there is an adjustments to projections and deviation mapping to prevent 'Projection Bias' and create a fair simulation")
662
  insert_port1 = st.selectbox("Are you uploading a portfolio?", ('No', 'Yes'), key='insert_port1')
663
  if insert_port1 == 'Yes':