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