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 = st.secrets["NFL_data"]
|
| 49 |
|
| 50 |
-
@st.cache_resource(ttl=
|
| 51 |
def init_baselines():
|
| 52 |
sh = gc.open_by_url(all_dk_player_projections)
|
| 53 |
worksheet = sh.worksheet('DK_SD_ROO')
|
|
|
|
| 47 |
|
| 48 |
all_dk_player_projections = st.secrets["NFL_data"]
|
| 49 |
|
| 50 |
+
@st.cache_resource(ttl=300)
|
| 51 |
def init_baselines():
|
| 52 |
sh = gc.open_by_url(all_dk_player_projections)
|
| 53 |
worksheet = sh.worksheet('DK_SD_ROO')
|