Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ prop_table_options = ['points', 'threes', 'rebounds', 'assists', 'blocks', 'stea
|
|
46 |
all_sim_vars = ['points', 'rebounds', 'assists', 'threes', 'PRA', 'points+rebounds', 'points+assists', 'rebounds+assists']
|
47 |
sim_all_hold = pd.DataFrame(columns=['Player', 'Prop type', 'Prop', 'Mean_Outcome', 'Imp Over', 'Over%', 'Imp Under', 'Under%', 'Bet?', 'Edge'])
|
48 |
|
49 |
-
@st.cache_resource(ttl =
|
50 |
def init_baselines():
|
51 |
sh = gcservice_account.open_by_url(master_hold)
|
52 |
worksheet = sh.worksheet('Betting Model Clean')
|
|
|
46 |
all_sim_vars = ['points', 'rebounds', 'assists', 'threes', 'PRA', 'points+rebounds', 'points+assists', 'rebounds+assists']
|
47 |
sim_all_hold = pd.DataFrame(columns=['Player', 'Prop type', 'Prop', 'Mean_Outcome', 'Imp Over', 'Over%', 'Imp Under', 'Under%', 'Bet?', 'Edge'])
|
48 |
|
49 |
+
@st.cache_resource(ttl = 299)
|
50 |
def init_baselines():
|
51 |
sh = gcservice_account.open_by_url(master_hold)
|
52 |
worksheet = sh.worksheet('Betting Model Clean')
|