Spaces:
Runtime error
Runtime error
Download src/schemas/PredictItemResult.py from Marintosti/deploy-machine-learning: direct link, hf CLI and curl.
- Browser
- Download file 146 Bytes
-
https://huggingface.co/spaces/Marintosti/deploy-machine-learning/resolve/main/src/schemas/PredictItemResult.py
- Command line
-
hf download hf://spaces/Marintosti/deploy-machine-learning/src/schemas/PredictItemResult.py
-
curl -L -o PredictItemResult.py https://huggingface.co/spaces/Marintosti/deploy-machine-learning/resolve/main/src/schemas/PredictItemResult.py
146 Bytes
| from typing import Optional | |
| from pydantic import BaseModel | |
| class PredictItemResult(BaseModel): | |
| label: str | |
| proba: Optional[float] = None | |