Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
| 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=
|
| 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')
|