Download app/models.py from killvung/cfy: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/spaces/killvung/cfy/resolve/main/app/models.py
- Command line
-
hf download hf://spaces/killvung/cfy/app/models.py
-
curl -L -o models.py https://huggingface.co/spaces/killvung/cfy/resolve/main/app/models.py
727 Bytes
| """Domain models for the Phase 0 review app.""" | |
| from __future__ import annotations | |
| from dataclasses import dataclass | |
| from app.enums import CatSlug, EvaluatorLabel | |
| class Invite: | |
| id: str | |
| token: str | |
| evaluator_label: EvaluatorLabel | |
| is_active: bool | |
| class CandidateImage: | |
| id: str | |
| slot: int | |
| local_path: str | |
| storage_url: str | None | |
| prompt: str | None | |
| base_model: str | None | |
| lora_version: str | None | |
| seed: int | None | |
| class EvaluationTask: | |
| id: str | |
| test_id: str | |
| batch_id: str | |
| cat_slug: CatSlug | |
| cat_display_name: str | |
| candidates: list[CandidateImage] | |