Spaces:
Paused
Paused
Download apps/renderer/config/spaces.py from modventures/prevision: direct link, hf CLI and curl.
- Browser
- Download file 802 Bytes
-
https://huggingface.co/spaces/modventures/prevision/resolve/main/apps/renderer/config/spaces.py
- Command line
-
hf download hf://spaces/modventures/prevision/apps/renderer/config/spaces.py
-
curl -L -o spaces.py https://huggingface.co/spaces/modventures/prevision/resolve/main/apps/renderer/config/spaces.py
802 Bytes
| from config.loader import config_value | |
| SPACES_BUCKET = str(config_value( | |
| "SPACES_BUCKET", "spaces", "bucket", "", | |
| )).strip() | |
| SPACES_REGION = str(config_value( | |
| "SPACES_REGION", "spaces", "region", "", | |
| )).strip() | |
| SPACES_ENDPOINT_URL = str(config_value( | |
| "SPACES_ENDPOINT_URL", "spaces", "endpoint_url", "", | |
| )).strip().rstrip("/") | |
| SPACES_ACCESS_KEY_ID = str(config_value( | |
| "SPACES_ACCESS_KEY_ID", "spaces", "access_key_id", "", | |
| )).strip() | |
| SPACES_SECRET_ACCESS_KEY = str(config_value( | |
| "SPACES_SECRET_ACCESS_KEY", "spaces", "secret_access_key", "", | |
| )).strip() | |
| SPACES_UPLOAD_PREFIX = str(config_value( | |
| "SPACES_UPLOAD_PREFIX", "spaces", "upload_prefix", "room-uploads", | |
| )).strip().strip("/") | |
| SPACES_ACL = str(config_value( | |
| "SPACES_ACL", "spaces", "acl", "private", | |
| )).strip() | |