Multichem commited on
Commit
14dd076
·
1 Parent(s): c3d5fdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,7 +47,7 @@ expose_format = {'Proj Own': '{:.2%}','Exposure': '{:.2%}'}
47
 
48
  all_dk_player_projections = 'https://docs.google.com/spreadsheets/d/1I_1Ve3F4tftgfLQQoRKOJ351XfEG48s36OxXUKxmgS8/edit#gid=1391856348'
49
 
50
- @st.cache_resource(ttl=600)
51
  def load_dk_player_projections():
52
  sh = gc.open_by_url(all_dk_player_projections)
53
  worksheet = sh.worksheet('SD_Projections')
@@ -60,7 +60,7 @@ def load_dk_player_projections():
60
 
61
  return raw_display
62
 
63
- @st.cache_resource(ttl=600)
64
  def load_fd_player_projections():
65
  sh = gc.open_by_url(all_dk_player_projections)
66
  worksheet = sh.worksheet('FD_SD_Projections')
 
47
 
48
  all_dk_player_projections = 'https://docs.google.com/spreadsheets/d/1I_1Ve3F4tftgfLQQoRKOJ351XfEG48s36OxXUKxmgS8/edit#gid=1391856348'
49
 
50
+ @st.cache_resource(ttl=30)
51
  def load_dk_player_projections():
52
  sh = gc.open_by_url(all_dk_player_projections)
53
  worksheet = sh.worksheet('SD_Projections')
 
60
 
61
  return raw_display
62
 
63
+ @st.cache_resource(ttl=30)
64
  def load_fd_player_projections():
65
  sh = gc.open_by_url(all_dk_player_projections)
66
  worksheet = sh.worksheet('FD_SD_Projections')