Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ master_hold = 'https://docs.google.com/spreadsheets/d/1Yq0vGriWK-bS79e-bD6_u9pqr
|
|
41 |
|
42 |
@st.cache_resource(ttl = 300)
|
43 |
def init_baselines():
|
44 |
-
sh =
|
45 |
worksheet = sh.worksheet('Betting Model Clean')
|
46 |
raw_display = pd.DataFrame(worksheet.get_all_records())
|
47 |
raw_display.replace('#DIV/0!', np.nan, inplace=True)
|
|
|
41 |
|
42 |
@st.cache_resource(ttl = 300)
|
43 |
def init_baselines():
|
44 |
+
sh = gcservice_account.open_by_url(master_hold)
|
45 |
worksheet = sh.worksheet('Betting Model Clean')
|
46 |
raw_display = pd.DataFrame(worksheet.get_all_records())
|
47 |
raw_display.replace('#DIV/0!', np.nan, inplace=True)
|