James McCool
commited on
Commit
·
c626d33
1
Parent(s):
9d51f3c
removing unnecessary load/reset
Browse files- src/streamlit_app.py +0 -9
src/streamlit_app.py
CHANGED
|
@@ -713,15 +713,6 @@ if selected_tab == "Contest Sims":
|
|
| 713 |
if selected_tab == "Data Export":
|
| 714 |
col1, col2 = st.columns([1, 7])
|
| 715 |
with col1:
|
| 716 |
-
if st.button("Load/Reset Data", key='reset1'):
|
| 717 |
-
st.cache_data.clear()
|
| 718 |
-
for key in st.session_state.keys():
|
| 719 |
-
del st.session_state[key]
|
| 720 |
-
DK_seed = init_DK_seed_frames(10000)
|
| 721 |
-
FD_seed = init_FD_seed_frames(10000)
|
| 722 |
-
dk_raw, fd_raw = init_baselines('Main Slate')
|
| 723 |
-
dk_id_dict = dict(zip(dk_raw.Player, dk_raw.player_ID))
|
| 724 |
-
fd_id_dict = dict(zip(fd_raw.Player, fd_raw.player_ID))
|
| 725 |
|
| 726 |
slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate'))
|
| 727 |
site_var1 = st.radio("What site are you working with?", ('Draftkings', 'Fanduel'))
|
|
|
|
| 713 |
if selected_tab == "Data Export":
|
| 714 |
col1, col2 = st.columns([1, 7])
|
| 715 |
with col1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 716 |
|
| 717 |
slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate'))
|
| 718 |
site_var1 = st.radio("What site are you working with?", ('Draftkings', 'Fanduel'))
|