Spaces:
Starting
Starting
Download src/models.py from Mariusz47/MyProfileAvatar: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/spaces/Mariusz47/MyProfileAvatar/resolve/main/src/models.py
- Command line
-
hf download hf://spaces/Mariusz47/MyProfileAvatar/src/models.py
-
curl -L -o models.py https://huggingface.co/spaces/Mariusz47/MyProfileAvatar/resolve/main/src/models.py
193 Bytes
| from pydantic import BaseModel | |
| class Evaluation(BaseModel): | |
| is_acceptable: bool | |
| feedback: str | |
| class CacheEntry(BaseModel): | |
| question: str | |
| answer: str | |
| embedding: list[float] |