Download src/interfaces/choice.py from kbl2810/test: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/kbl2810/test/resolve/main/src/interfaces/choice.py
- Command line
-
hf download hf://spaces/kbl2810/test/src/interfaces/choice.py
-
curl -L -o choice.py https://huggingface.co/spaces/kbl2810/test/resolve/main/src/interfaces/choice.py
161 Bytes
| from pydantic import BaseModel | |
| from typing import Optional | |
| class IChoice(BaseModel): | |
| content: str | |
| is_correct: bool | |
| explanation: Optional[str] = None |