Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ from google.oauth2 import service_account
|
|
| 7 |
from googleapiclient.discovery import build
|
| 8 |
|
| 9 |
# Google Drive Authentication Setup
|
| 10 |
-
SCOPES = ['https://www.googleapis.com/auth/drive
|
| 11 |
-
SERVICE_ACCOUNT_FILE =
|
| 12 |
credentials = service_account.Credentials.from_service_account_file(
|
| 13 |
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
|
| 14 |
drive_service = build('drive', 'v3', credentials=credentials)
|
|
|
|
| 7 |
from googleapiclient.discovery import build
|
| 8 |
|
| 9 |
# Google Drive Authentication Setup
|
| 10 |
+
SCOPES = ['https://www.googleapis.com/auth/drive']
|
| 11 |
+
SERVICE_ACCOUNT_FILE = r"C:\Users\bharg\Documents\Work\Sathkrutha\service_account.json"
|
| 12 |
credentials = service_account.Credentials.from_service_account_file(
|
| 13 |
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
|
| 14 |
drive_service = build('drive', 'v3', credentials=credentials)
|