Spaces:
Running
Running
Update google_auth.py
Browse files- google_auth.py +2 -2
google_auth.py
CHANGED
@@ -2,8 +2,8 @@ from google.oauth2.credentials import Credentials
|
|
2 |
from googleapiclient.discovery import build
|
3 |
from google_auth_oauthlib.flow import InstalledAppFlow
|
4 |
# Define OAuth 2.0 scopes
|
5 |
-
SCOPES =
|
6 |
-
config =
|
7 |
def auth():
|
8 |
api_service_name = "drive"
|
9 |
api_version = "v3"
|
|
|
2 |
from googleapiclient.discovery import build
|
3 |
from google_auth_oauthlib.flow import InstalledAppFlow
|
4 |
# Define OAuth 2.0 scopes
|
5 |
+
SCOPES = os.getenv('Google_scopes')
|
6 |
+
config = os.getenv('Google_Secret')
|
7 |
def auth():
|
8 |
api_service_name = "drive"
|
9 |
api_version = "v3"
|