Bhargav3000 commited on
Commit
37774cc
·
verified ·
1 Parent(s): 16df0ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.readonly']
11
- SERVICE_ACCOUNT_FILE = '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)
 
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)