Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,9 +70,9 @@ site_slates, player_stats, dk_roo_raw, fd_roo_raw = init_baselines()
|
|
| 70 |
t_stamp = f"Last Update: " + str(dk_roo_raw['timestamp'][0]) + f" CST"
|
| 71 |
col1, col2 = st.columns([1, 5])
|
| 72 |
|
| 73 |
-
tab1, tab2 = st.tabs(['Uploads
|
| 74 |
|
| 75 |
-
with
|
| 76 |
st.info("The Projections file can have any columns in any order, but must contain columns explicitly named: 'Player', 'Salary', 'Position', 'Team', 'Opp', 'Median', and 'Own'.")
|
| 77 |
col1, col2 = st.columns([1, 5])
|
| 78 |
|
|
@@ -88,7 +88,7 @@ with tab1:
|
|
| 88 |
if proj_file is not None:
|
| 89 |
st.dataframe(proj_dataframe.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
| 90 |
|
| 91 |
-
with
|
| 92 |
col1, col2 = st.columns([1, 5])
|
| 93 |
|
| 94 |
with col1:
|
|
|
|
| 70 |
t_stamp = f"Last Update: " + str(dk_roo_raw['timestamp'][0]) + f" CST"
|
| 71 |
col1, col2 = st.columns([1, 5])
|
| 72 |
|
| 73 |
+
tab1, tab2 = st.tabs(['Uploads', 'Stack Finder'])
|
| 74 |
|
| 75 |
+
with tab2:
|
| 76 |
st.info("The Projections file can have any columns in any order, but must contain columns explicitly named: 'Player', 'Salary', 'Position', 'Team', 'Opp', 'Median', and 'Own'.")
|
| 77 |
col1, col2 = st.columns([1, 5])
|
| 78 |
|
|
|
|
| 88 |
if proj_file is not None:
|
| 89 |
st.dataframe(proj_dataframe.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
| 90 |
|
| 91 |
+
with tab1:
|
| 92 |
col1, col2 = st.columns([1, 5])
|
| 93 |
|
| 94 |
with col1:
|