Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,15 +198,12 @@ with tab1:
|
|
| 198 |
with tab2:
|
| 199 |
col1, col2 = st.columns([1, 7])
|
| 200 |
with col1:
|
|
|
|
| 201 |
if st.button("Load/Reset Data", key='reset1'):
|
| 202 |
for key in st.session_state.keys():
|
| 203 |
del st.session_state[key]
|
| 204 |
display_portfolio = hold_portfolio
|
| 205 |
st.session_state.display_portfolio = display_portfolio
|
| 206 |
-
proj_container = st.empty()
|
| 207 |
-
display_container = st.empty()
|
| 208 |
-
display_dl_container = st.empty()
|
| 209 |
-
hold_container = st.empty()
|
| 210 |
if st.button("Trim Lineups", key='trim1'):
|
| 211 |
max_proj = 10000
|
| 212 |
max_own = display_portfolio['Ownership'].iloc[0]
|
|
@@ -311,7 +308,10 @@ with tab2:
|
|
| 311 |
|
| 312 |
hold_container = st.empty()
|
| 313 |
|
| 314 |
-
with col2:
|
|
|
|
|
|
|
|
|
|
| 315 |
with proj_container:
|
| 316 |
proj_container = st.empty()
|
| 317 |
if 'display_portfolio' in st.session_state:
|
|
|
|
| 198 |
with tab2:
|
| 199 |
col1, col2 = st.columns([1, 7])
|
| 200 |
with col1:
|
| 201 |
+
hold_container = st.empty()
|
| 202 |
if st.button("Load/Reset Data", key='reset1'):
|
| 203 |
for key in st.session_state.keys():
|
| 204 |
del st.session_state[key]
|
| 205 |
display_portfolio = hold_portfolio
|
| 206 |
st.session_state.display_portfolio = display_portfolio
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
if st.button("Trim Lineups", key='trim1'):
|
| 208 |
max_proj = 10000
|
| 209 |
max_own = display_portfolio['Ownership'].iloc[0]
|
|
|
|
| 308 |
|
| 309 |
hold_container = st.empty()
|
| 310 |
|
| 311 |
+
with col2:
|
| 312 |
+
proj_container = st.empty()
|
| 313 |
+
display_container = st.empty()
|
| 314 |
+
display_dl_container = st.empty()
|
| 315 |
with proj_container:
|
| 316 |
proj_container = st.empty()
|
| 317 |
if 'display_portfolio' in st.session_state:
|