James McCool
commited on
Commit
·
2040906
1
Parent(s):
25c1968
fixing some notation
Browse files
app.py
CHANGED
|
@@ -1029,7 +1029,6 @@ except:
|
|
| 1029 |
)
|
| 1030 |
|
| 1031 |
if selected_tab == 'Data Load':
|
| 1032 |
-
# Add file uploaders to your app
|
| 1033 |
col1, col2, col3 = st.columns(3)
|
| 1034 |
|
| 1035 |
with col1:
|
|
@@ -1130,7 +1129,7 @@ if selected_tab == 'Data Load':
|
|
| 1130 |
with col2:
|
| 1131 |
st.subheader("Portfolio File")
|
| 1132 |
st.info("Go ahead and upload a portfolio file here. Only include player columns.")
|
| 1133 |
-
st.warning("Database load is active and in testing for NBA, NFL, NHL, and
|
| 1134 |
|
| 1135 |
upload_toggle = st.selectbox("What source are you uploading from?", options=['Paydirt DB', 'SaberSim (Just IDs)', 'Draftkings/Fanduel (Names + IDs)', 'Other (Just Names)'])
|
| 1136 |
if 'portfolio' not in st.session_state:
|
|
@@ -1276,7 +1275,7 @@ if selected_tab == 'Data Load':
|
|
| 1276 |
with col3:
|
| 1277 |
st.subheader("Projections File")
|
| 1278 |
st.info("upload a projections file that has 'player_names', 'salary', 'median', 'ownership', and 'captain ownership' columns. Note that the salary for showdown needs to be the FLEX salary, not the captain salary.")
|
| 1279 |
-
st.warning("Database load is active and in testing for NBA, NFL, NHL, and
|
| 1280 |
proj_options = st.selectbox("Select a projections source", options=['Paydirt DB', 'User Upload'])
|
| 1281 |
|
| 1282 |
# Create two columns for the uploader and template button
|
|
|
|
| 1029 |
)
|
| 1030 |
|
| 1031 |
if selected_tab == 'Data Load':
|
|
|
|
| 1032 |
col1, col2, col3 = st.columns(3)
|
| 1033 |
|
| 1034 |
with col1:
|
|
|
|
| 1129 |
with col2:
|
| 1130 |
st.subheader("Portfolio File")
|
| 1131 |
st.info("Go ahead and upload a portfolio file here. Only include player columns.")
|
| 1132 |
+
st.warning("Database load is active and in testing for NBA, NFL, NHL, MMA, and PGA, both Classic and Regular")
|
| 1133 |
|
| 1134 |
upload_toggle = st.selectbox("What source are you uploading from?", options=['Paydirt DB', 'SaberSim (Just IDs)', 'Draftkings/Fanduel (Names + IDs)', 'Other (Just Names)'])
|
| 1135 |
if 'portfolio' not in st.session_state:
|
|
|
|
| 1275 |
with col3:
|
| 1276 |
st.subheader("Projections File")
|
| 1277 |
st.info("upload a projections file that has 'player_names', 'salary', 'median', 'ownership', and 'captain ownership' columns. Note that the salary for showdown needs to be the FLEX salary, not the captain salary.")
|
| 1278 |
+
st.warning("Database load is active and in testing for NBA, NFL, NHL, MMA, and PGA, both Classic and Regular")
|
| 1279 |
proj_options = st.selectbox("Select a projections source", options=['Paydirt DB', 'User Upload'])
|
| 1280 |
|
| 1281 |
# Create two columns for the uploader and template button
|