Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ american_format = {'First Inning Lead Percentage': '{:.2%}', 'Fifth Inning Lead
|
|
| 30 |
|
| 31 |
master_hold = 'https://docs.google.com/spreadsheets/d/1f42Ergav8K1VsOLOK9MUn7DM_MLMvv4GR2Fy7EfnZTc/edit#gid=340831852'
|
| 32 |
|
| 33 |
-
@st.cache_resource(ttl =
|
| 34 |
def init_baselines():
|
| 35 |
sh = gc.open_by_url(master_hold)
|
| 36 |
worksheet = sh.worksheet('Pitcher_Stats')
|
|
|
|
| 30 |
|
| 31 |
master_hold = 'https://docs.google.com/spreadsheets/d/1f42Ergav8K1VsOLOK9MUn7DM_MLMvv4GR2Fy7EfnZTc/edit#gid=340831852'
|
| 32 |
|
| 33 |
+
@st.cache_resource(ttl = 299)
|
| 34 |
def init_baselines():
|
| 35 |
sh = gc.open_by_url(master_hold)
|
| 36 |
worksheet = sh.worksheet('Pitcher_Stats')
|