Spaces:
Sleeping
Sleeping
Download src/schemas/PredictRequest.py from Marintosti/mlops2: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/spaces/Marintosti/mlops2/resolve/main/src/schemas/PredictRequest.py
- Command line
-
hf download hf://spaces/Marintosti/mlops2/src/schemas/PredictRequest.py
-
curl -L -o PredictRequest.py https://huggingface.co/spaces/Marintosti/mlops2/resolve/main/src/schemas/PredictRequest.py
193 Bytes
| from typing import List | |
| from pydantic import BaseModel | |
| from src.schemas.ModelFeatures import ModelFeatures | |
| class PredictRequest(BaseModel): | |
| model_name: str | |
| inputs: List[ModelFeatures] |