Download app/api/v1/api.py from seamo-ai/fishapi: direct link, hf CLI and curl.
- Browser
- Download file 341 Bytes
-
https://huggingface.co/spaces/seamo-ai/fishapi/resolve/main/app/api/v1/api.py
- Command line
-
hf download hf://spaces/seamo-ai/fishapi/app/api/v1/api.py
-
curl -L -o api.py https://huggingface.co/spaces/seamo-ai/fishapi/resolve/main/app/api/v1/api.py
341 Bytes
| """ | |
| API v1 router configuration. | |
| """ | |
| from fastapi import APIRouter | |
| from app.api.v1.endpoints import inference, health | |
| api_router = APIRouter() | |
| # Include endpoint routers | |
| api_router.include_router( | |
| inference.router, | |
| tags=["Marine Species Detection"] | |
| ) | |
| api_router.include_router( | |
| health.router, | |
| tags=["Health & Status"] | |
| ) | |