Spaces:
Running
Running
James McCool
commited on
Commit
·
f985644
1
Parent(s):
6f61929
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=599)
|
51 |
def init_baselines():
|
52 |
sh = gcservice_account.open_by_url(NFL_Data)
|
53 |
worksheet = sh.worksheet('Game_Betting')
|