Spaces:
Configuration error
Configuration error
Download backend/spaces/__init__.py from Smnbrzq/Autonomous-coding-system: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/Smnbrzq/Autonomous-coding-system/resolve/main/backend/spaces/__init__.py
- Command line
-
hf download hf://spaces/Smnbrzq/Autonomous-coding-system/backend/spaces/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Smnbrzq/Autonomous-coding-system/resolve/main/backend/spaces/__init__.py
433 Bytes
| from .base_space import BaseSpace | |
| from .catalog import SPACE_CATALOG, SPACE_INDEX | |
| from .worker_space import WorkerSpace | |
| def build_all_spaces(ws_manager=None, ai_router=None): | |
| return { | |
| spec["id"]: WorkerSpace(spec=spec, ws_manager=ws_manager, ai_router=ai_router) | |
| for spec in SPACE_CATALOG | |
| } | |
| __all__ = [ | |
| "BaseSpace", | |
| "WorkerSpace", | |
| "SPACE_CATALOG", | |
| "SPACE_INDEX", | |
| "build_all_spaces", | |
| ] | |