Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from google.oauth2 import service_account
|
|
12 |
|
13 |
USER_ID = uuid.uuid4()
|
14 |
SERVICE_ACCOUNT_JSON = os.environ.get('GOOGLE_SHEETS_CREDENTIALS')
|
15 |
-
creds = service_account.Credentials.from_service_account_info(json.loads(
|
16 |
SPREADSHEET_ID = '1o0iKPxWYKYKEPjqB2YwrTgrLzvGyb9ULj9tnw_cfJb0'
|
17 |
service = build('sheets', 'v4', credentials=creds)
|
18 |
|
|
|
12 |
|
13 |
USER_ID = uuid.uuid4()
|
14 |
SERVICE_ACCOUNT_JSON = os.environ.get('GOOGLE_SHEETS_CREDENTIALS')
|
15 |
+
creds = service_account.Credentials.from_service_account_info(json.loads(SERVICE_ACCOUNT_JSON))
|
16 |
SPREADSHEET_ID = '1o0iKPxWYKYKEPjqB2YwrTgrLzvGyb9ULj9tnw_cfJb0'
|
17 |
service = build('sheets', 'v4', credentials=creds)
|
18 |
|