Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from google.oauth2 import service_account
|
|
13 |
# Upload credential json file from default compute service account
|
14 |
#os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "herbaria-ai-3c860bcb0f44.json"
|
15 |
|
16 |
-
credentials_raw = os.environ.get("
|
17 |
if not credentials_raw:
|
18 |
raise EnvironmentError("Google Cloud credentials not found in environment.")
|
19 |
credentials_json = json.loads(credentials_raw)
|
|
|
13 |
# Upload credential json file from default compute service account
|
14 |
#os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "herbaria-ai-3c860bcb0f44.json"
|
15 |
|
16 |
+
credentials_raw = os.environ.get("google_authentication")
|
17 |
if not credentials_raw:
|
18 |
raise EnvironmentError("Google Cloud credentials not found in environment.")
|
19 |
credentials_json = json.loads(credentials_raw)
|