Spaces:
Sleeping
Sleeping
Download app/models/prediction_models.py from sanbatte/finance_api: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/sanbatte/finance_api/resolve/main/app/models/prediction_models.py
- Command line
-
hf download hf://spaces/sanbatte/finance_api/app/models/prediction_models.py
-
curl -L -o prediction_models.py https://huggingface.co/spaces/sanbatte/finance_api/resolve/main/app/models/prediction_models.py
215 Bytes
| from pydantic import BaseModel | |
| from typing import List | |
| class PredictionRequest(BaseModel): | |
| invoiceId: List[int] | |
| country: str | |
| class PredictionResponse(BaseModel): | |
| invoiceId: int | |
| prediction: float | |