Download app/routers/health.py from Adisri99/Space-Risk-Intelligence-API: direct link, hf CLI and curl.
- Browser
- Download file 165 Bytes
-
https://huggingface.co/spaces/Adisri99/Space-Risk-Intelligence-API/resolve/main/app/routers/health.py
- Command line
-
hf download hf://spaces/Adisri99/Space-Risk-Intelligence-API/app/routers/health.py
-
curl -L -o health.py https://huggingface.co/spaces/Adisri99/Space-Risk-Intelligence-API/resolve/main/app/routers/health.py
165 Bytes
| from fastapi import APIRouter | |
| from app.config import settings | |
| router=APIRouter() | |
| def health(): return {"status":"ok","app":settings.APP_NAME} | |