brightfastwork commited on
Commit
895038b
·
1 Parent(s): 497ad13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -6,7 +6,9 @@ print(os.environ['py_api'])
6
  import json
7
  stud_obj = json.loads(str(os.environ['py_api']))
8
 
9
- gc = pygsheets.authorize(client_secret= os.environ['py_api'])
 
 
10
  # ## Import Libs
11
 
12
  # In[54]:
 
6
  import json
7
  stud_obj = json.loads(str(os.environ['py_api']))
8
 
9
+ ##gc = pygsheets.authorize(client_secret= os.environ['py_api'])
10
+ gc = pygsheets.authorize(service_account_env_var = 'service_acc')
11
+
12
  # ## Import Libs
13
 
14
  # In[54]: