Spaces:
Runtime error
Runtime error
Download api/router/health.py from Multimedika/Bot_Development: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/spaces/Multimedika/Bot_Development/resolve/main/api/router/health.py
- Command line
-
hf download hf://spaces/Multimedika/Bot_Development/api/router/health.py
-
curl -L -o health.py https://huggingface.co/spaces/Multimedika/Bot_Development/resolve/main/api/router/health.py
268 Bytes
| from fastapi import Request | |
| from fastapi.responses import JSONResponse | |
| from fastapi.routing import APIRouter | |
| router = APIRouter(tags=["Health"]) | |
| async def health(request: Request): | |
| return JSONResponse(dict(status="OK"), status_code=200) | |