Spaces:
Sleeping
Sleeping
Download typehints.py from K0d3r0x/test-ground: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/K0d3r0x/test-ground/resolve/252020d88b6767d6634cf4039cd5e35eded344ec/typehints.py
- Command line
-
hf download hf://spaces/K0d3r0x/test-ground@252020d88b6767d6634cf4039cd5e35eded344ec/typehints.py
-
curl -L -o typehints.py https://huggingface.co/spaces/K0d3r0x/test-ground/resolve/252020d88b6767d6634cf4039cd5e35eded344ec/typehints.py
353 Bytes
| from typing import Any, TypedDict | |
| from gradio import FileData | |
| class LogEntry(TypedDict): | |
| project: str | |
| run: str | |
| metrics: dict[str, Any] | |
| step: int | None | |
| config: dict[str, Any] | None | |
| class UploadEntry(TypedDict): | |
| project: str | |
| run: str | None | |
| step: int | None | |
| relative_path: str | None | |
| uploaded_file: FileData | |