Marthee commited on
Commit
2a3540a
·
1 Parent(s): f977a70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -952,10 +952,10 @@ def legendGoogleSheets(SimilarAreaDictionary,colorsUsed):
952
  'https://www.googleapis.com/auth/spreadsheets',
953
  'https://www.googleapis.com/auth/drive'
954
  ]
955
- credentials = service_account.Credentials.from_service_account_file('/content/credentials.json', scopes=SCOPES)
956
  spreadsheet_service = build('sheets', 'v4', credentials=credentials)
957
  drive_service = build('drive', 'v3', credentials=credentials)
958
- gc = pygsheets.authorize(custom_credentials=credentials, client_secret='/content/credentials.json')
959
 
960
 
961
  ########
 
952
  'https://www.googleapis.com/auth/spreadsheets',
953
  'https://www.googleapis.com/auth/drive'
954
  ]
955
+ credentials = service_account.Credentials.from_service_account_file('credentials.json', scopes=SCOPES)
956
  spreadsheet_service = build('sheets', 'v4', credentials=credentials)
957
  drive_service = build('drive', 'v3', credentials=credentials)
958
+ gc = pygsheets.authorize(custom_credentials=credentials, client_secret='credentials.json')
959
 
960
 
961
  ########