Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -922,15 +922,11 @@ with tab1:
|
|
922 |
with tab2:
|
923 |
col1, col2 = st.columns([1, 7])
|
924 |
with col1:
|
925 |
-
st.info(t_stamp)
|
926 |
if st.button("Load/Reset Data", key='reset1'):
|
927 |
st.cache_data.clear()
|
928 |
for key in st.session_state.keys():
|
929 |
del st.session_state[key]
|
930 |
-
dk_roo_raw =
|
931 |
-
fd_roo_raw = load_fd_player_projections()
|
932 |
-
t_stamp = f"Last Update: " + str(dk_roo_raw['timestamp'][0]) + f" CST"
|
933 |
-
dkid_dict, fdid_dict = set_export_ids()
|
934 |
|
935 |
slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate', 'Thurs-Mon Slate', 'User'))
|
936 |
site_var1 = st.radio("What site are you working with?", ('Draftkings', 'Fanduel'))
|
|
|
922 |
with tab2:
|
923 |
col1, col2 = st.columns([1, 7])
|
924 |
with col1:
|
|
|
925 |
if st.button("Load/Reset Data", key='reset1'):
|
926 |
st.cache_data.clear()
|
927 |
for key in st.session_state.keys():
|
928 |
del st.session_state[key]
|
929 |
+
dk_roo_raw, fd_roo_raw, dkid_dict, fdid_dict = load_player_projections()
|
|
|
|
|
|
|
930 |
|
931 |
slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate', 'Thurs-Mon Slate', 'User'))
|
932 |
site_var1 = st.radio("What site are you working with?", ('Draftkings', 'Fanduel'))
|