Spaces:
Sleeping
Sleeping
Download src/settings.py from hacendado/LabelDashboard: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/hacendado/LabelDashboard/resolve/main/src/settings.py
- Command line
-
hf download hf://spaces/hacendado/LabelDashboard/src/settings.py
-
curl -L -o settings.py https://huggingface.co/spaces/hacendado/LabelDashboard/resolve/main/src/settings.py
451 Bytes
| import os | |
| import logging | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| PYTHON_LOGGING_LEVEL = os.getenv("PYTHON_LOGGING_LEVEL", logging.INFO) | |
| GOOGLE_CLOUD_PROJECT = os.getenv("GOOGLE_CLOUD_PROJECT") or "" | |
| BUCKET_NAME = os.getenv("BUCKET_NAME") or "" | |
| ANNOTATIONS_FOLDER = os.getenv("ANNOTATIONS_FOLDER") or "" | |
| GOOGLE_SERVICE_ACCOUNT_EMAIL = os.getenv("GOOGLE_SERVICE_ACCOUNT_EMAIL") or "" | |
| GOOGLE_PRIVATE_KEY = os.getenv("GOOGLE_PRIVATE_KEY") or "" | |