Spaces:
Build error
Build error
Download src/api/systems/deploy_system/router.py from amkyawdev/amkyawdev-coder-backend: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/amkyawdev/amkyawdev-coder-backend/resolve/main/src/api/systems/deploy_system/router.py
- Command line
-
hf download hf://spaces/amkyawdev/amkyawdev-coder-backend/src/api/systems/deploy_system/router.py
-
curl -L -o router.py https://huggingface.co/spaces/amkyawdev/amkyawdev-coder-backend/resolve/main/src/api/systems/deploy_system/router.py
404 Bytes
| """Deploy System Router""" | |
| from fastapi import APIRouter | |
| from typing import Dict, Any | |
| router = APIRouter() | |
| async def deploy(data: Dict[str, Any]) -> Dict[str, Any]: | |
| return {"status": "success", "message": "Deploy placeholder", "url": ""} | |
| async def get_providers() -> Dict[str, Any]: | |
| return {"providers": ["vercel", "netlify", "aws", "gcp"]} | |