Spaces:
Sleeping
Sleeping
Update google_api_deploy.py
Browse files- google_api_deploy.py +1 -1
google_api_deploy.py
CHANGED
|
@@ -23,7 +23,7 @@ def authenticate_google_drive():
|
|
| 23 |
creds.refresh(Request())
|
| 24 |
else:
|
| 25 |
flow = InstalledAppFlow.from_client_secrets_file(
|
| 26 |
-
'
|
| 27 |
creds = flow.run_console()
|
| 28 |
with open('token.pickle', 'wb') as token:
|
| 29 |
pickle.dump(creds, token)
|
|
|
|
| 23 |
creds.refresh(Request())
|
| 24 |
else:
|
| 25 |
flow = InstalledAppFlow.from_client_secrets_file(
|
| 26 |
+
'credentials.json', SCOPES)
|
| 27 |
creds = flow.run_console()
|
| 28 |
with open('token.pickle', 'wb') as token:
|
| 29 |
pickle.dump(creds, token)
|