Multichem commited on
Commit
9997364
·
1 Parent(s): 7601080

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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 = load_dk_player_projections()
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'))