Spaces:
Sleeping
Sleeping
Vlad Bastina commited on
Commit ·
239d1e4
1
Parent(s): 4dc35f8
style change
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
|
@@ -33,7 +33,7 @@ google_credentials_json = json.loads(st.secrets["GOOGLE_APPLICATION_CREDENTIALS"
|
|
| 33 |
# Write the credentials to a temporary file
|
| 34 |
temp_file = "gcp_credentials.json"
|
| 35 |
with open(temp_file, "w") as f:
|
| 36 |
-
json.dump(google_credentials_json,
|
| 37 |
|
| 38 |
# Set the environment variable to point to the temporary file
|
| 39 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = temp_file
|
|
|
|
| 33 |
# Write the credentials to a temporary file
|
| 34 |
temp_file = "gcp_credentials.json"
|
| 35 |
with open(temp_file, "w") as f:
|
| 36 |
+
json.dump(google_credentials_json,f)
|
| 37 |
|
| 38 |
# Set the environment variable to point to the temporary file
|
| 39 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = temp_file
|