Spaces:
Sleeping
Sleeping
Download backend/app/api.py from Lonelyguyse1/Curriculum-Backend: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/spaces/Lonelyguyse1/Curriculum-Backend/resolve/main/backend/app/api.py
- Command line
-
hf download hf://spaces/Lonelyguyse1/Curriculum-Backend/backend/app/api.py
-
curl -L -o api.py https://huggingface.co/spaces/Lonelyguyse1/Curriculum-Backend/resolve/main/backend/app/api.py
273 Bytes
| from fastapi import APIRouter | |
| from app.routes import agent, chat, courses, health, preview, refined, submissions, versions | |
| router = APIRouter() | |
| for route in (health, submissions, preview, refined, agent, chat, versions, courses): | |
| router.include_router(route.router) | |