Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,8 +29,10 @@ def init_conn():
|
|
| 29 |
MLB_Data = 'https://docs.google.com/spreadsheets/d/1f42Ergav8K1VsOLOK9MUn7DM_MLMvv4GR2Fy7EfnZTc/edit#gid=340831852'
|
| 30 |
|
| 31 |
gc_con = gspread.service_account_from_dict(credentials, scope)
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
gcservice_account, db = init_conn()
|
| 34 |
|
| 35 |
percentages_format = {'Exposure': '{:.2%}'}
|
| 36 |
freq_format = {'Exposure': '{:.2%}', 'Proj Own': '{:.2%}', 'Edge': '{:.2%}'}
|
|
|
|
| 29 |
MLB_Data = 'https://docs.google.com/spreadsheets/d/1f42Ergav8K1VsOLOK9MUn7DM_MLMvv4GR2Fy7EfnZTc/edit#gid=340831852'
|
| 30 |
|
| 31 |
gc_con = gspread.service_account_from_dict(credentials, scope)
|
| 32 |
+
|
| 33 |
+
return gc_con, db, MLB_Data
|
| 34 |
|
| 35 |
+
gcservice_account, db, MLB_Data = init_conn()
|
| 36 |
|
| 37 |
percentages_format = {'Exposure': '{:.2%}'}
|
| 38 |
freq_format = {'Exposure': '{:.2%}', 'Proj Own': '{:.2%}', 'Edge': '{:.2%}'}
|