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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -656,7 +656,7 @@ with tab2:
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')
 
656
 
657
  slate_var1 = 'User'
658
  site_var1 = 'Draftkings'
659
+ if proj_file 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')