Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -656,7 +656,7 @@ with tab2:
|
|
656 |
|
657 |
slate_var1 = 'User'
|
658 |
site_var1 = 'Draftkings'
|
659 |
-
if
|
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')
|