Spaces:
Sleeping
Sleeping
Download models.py from iotn-assistant/web: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/spaces/iotn-assistant/web/resolve/main/models.py
- Command line
-
hf download hf://spaces/iotn-assistant/web/models.py
-
curl -L -o models.py https://huggingface.co/spaces/iotn-assistant/web/resolve/main/models.py
526 Bytes
| from dataclasses import dataclass, field | |
| from typing import List, Optional | |
| class Finding: | |
| code: str | |
| category: str | |
| grade: int | |
| summary: str | |
| evidence: str | |
| class DHCResult: | |
| grade: int | |
| classification: str | |
| grade_label: str | |
| subcode_label: str | |
| summary: str | |
| justification: str | |
| findings: List[Finding] = field(default_factory=list) | |
| review_notes: List[str] = field(default_factory=list) | |
| source_note: str = "" | |