Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ MLB_Data = 'https://docs.google.com/spreadsheets/d/1f42Ergav8K1VsOLOK9MUn7DM_MLM
|
|
| 43 |
|
| 44 |
percentages_format = {'Exposure': '{:.2%}'}
|
| 45 |
|
| 46 |
-
@st.cache_resource(ttl =
|
| 47 |
def init_baselines():
|
| 48 |
sh = gcservice_account.open_by_url(MLB_Data)
|
| 49 |
collection = db["DK_MLB_seed_frame"]
|
|
|
|
| 43 |
|
| 44 |
percentages_format = {'Exposure': '{:.2%}'}
|
| 45 |
|
| 46 |
+
@st.cache_resource(ttl = 600)
|
| 47 |
def init_baselines():
|
| 48 |
sh = gcservice_account.open_by_url(MLB_Data)
|
| 49 |
collection = db["DK_MLB_seed_frame"]
|