Download models.py from triflix/studentperformanceml: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/triflix/studentperformanceml/resolve/main/models.py
- Command line
-
hf download hf://spaces/triflix/studentperformanceml/models.py
-
curl -L -o models.py https://huggingface.co/spaces/triflix/studentperformanceml/resolve/main/models.py
369 Bytes
| from pydantic import BaseModel | |
| from typing import Optional, Dict | |
| class UserCreate(BaseModel): | |
| email: str | |
| name: str | |
| password: str | |
| class User(BaseModel): | |
| id: int | |
| email: str | |
| name: str | |
| class Prediction(BaseModel): | |
| id: int | |
| predicted: float | |
| accuracy: float | |
| algorithm: str | |
| input_json: Dict | |
| timestamp: str | |