Download backend/api/api.py from GerardCB/GeoQuery: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/GerardCB/GeoQuery/resolve/main/backend/api/api.py
- Command line
-
hf download hf://spaces/GerardCB/GeoQuery/backend/api/api.py
-
curl -L -o api.py https://huggingface.co/spaces/GerardCB/GeoQuery/resolve/main/backend/api/api.py
338 Bytes
| from fastapi import APIRouter | |
| from backend.api.endpoints import chat, schema, catalog | |
| api_router = APIRouter() | |
| api_router.include_router(chat.router, prefix="/chat", tags=["chat"]) | |
| api_router.include_router(schema.router, prefix="/schema", tags=["schema"]) | |
| api_router.include_router(catalog.router, prefix="/catalog", tags=["catalog"]) | |