Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
239be9c
1
Parent(s):
f985644
ping
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ gcservice_account, gcservice_account2, NFL_Data = init_conn()
|
|
| 47 |
game_format = {'Win%': '{:.2%}', 'Vegas': '{:.2%}', 'Win% Diff': '{:.2%}'}
|
| 48 |
american_format = {'First Inning Lead Percentage': '{:.2%}', 'Fifth Inning Lead Percentage': '{:.2%}'}
|
| 49 |
|
| 50 |
-
@st.cache_resource(ttl=
|
| 51 |
def init_baselines():
|
| 52 |
sh = gcservice_account.open_by_url(NFL_Data)
|
| 53 |
worksheet = sh.worksheet('Game_Betting')
|
|
|
|
| 47 |
game_format = {'Win%': '{:.2%}', 'Vegas': '{:.2%}', 'Win% Diff': '{:.2%}'}
|
| 48 |
american_format = {'First Inning Lead Percentage': '{:.2%}', 'Fifth Inning Lead Percentage': '{:.2%}'}
|
| 49 |
|
| 50 |
+
@st.cache_resource(ttl=600)
|
| 51 |
def init_baselines():
|
| 52 |
sh = gcservice_account.open_by_url(NFL_Data)
|
| 53 |
worksheet = sh.worksheet('Game_Betting')
|