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