Spaces:
Paused
Paused
Download app/api/v1/api.py from Jetsada117/backend_project: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/spaces/Jetsada117/backend_project/resolve/main/app/api/v1/api.py
- Command line
-
hf download hf://spaces/Jetsada117/backend_project/app/api/v1/api.py
-
curl -L -o api.py https://huggingface.co/spaces/Jetsada117/backend_project/resolve/main/app/api/v1/api.py
435 Bytes
| from fastapi import APIRouter | |
| from app.api.v1.endpoints import auth, predictions, search, user | |
| api_router = APIRouter() | |
| api_router.include_router(auth.router, prefix="/auth", tags=["auth"]) | |
| api_router.include_router( | |
| predictions.router, prefix="/predictions", tags=["predictions"] | |
| ) | |
| api_router.include_router(search.router, prefix="/search", tags=["search"]) | |
| api_router.include_router(user.router, prefix="/user", tags=["user"]) | |