Download models/__init__.py from NLP-Debater-Project/FastAPI-Backend-Models: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models/resolve/5bc471cc82535dfc7b2674249cec9dfdea3380f0/models/__init__.py
- Command line
-
hf download hf://spaces/NLP-Debater-Project/FastAPI-Backend-Models@5bc471cc82535dfc7b2674249cec9dfdea3380f0/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/NLP-Debater-Project/FastAPI-Backend-Models/resolve/5bc471cc82535dfc7b2674249cec9dfdea3380f0/models/__init__.py
463 Bytes
| """Pydantic models and schemas for request/response validation""" | |
| # Import stance-related schemas | |
| from .stance import ( | |
| StanceRequest, | |
| StanceResponse, | |
| BatchStanceRequest, | |
| BatchStanceResponse, | |
| ) | |
| # Import health-related schemas | |
| from .health import ( | |
| HealthResponse, | |
| ) | |
| __all__ = [ | |
| # Stance schemas | |
| "StanceRequest", | |
| "StanceResponse", | |
| "BatchStanceRequest", | |
| "BatchStanceResponse", | |
| # Health schemas | |
| "HealthResponse", | |
| ] | |