Spaces:
Running
Running
Download typehints.py from loubnabnl/tp-ablations-f: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/loubnabnl/tp-ablations-f/resolve/main/typehints.py
- Command line
-
hf download hf://spaces/loubnabnl/tp-ablations-f/typehints.py
-
curl -L -o typehints.py https://huggingface.co/spaces/loubnabnl/tp-ablations-f/resolve/main/typehints.py
282 Bytes
| from typing import Any, TypedDict | |
| from gradio import FileData | |
| class LogEntry(TypedDict): | |
| project: str | |
| run: str | |
| metrics: dict[str, Any] | |
| step: int | None | |
| class UploadEntry(TypedDict): | |
| project: str | |
| run: str | |
| step: int | None | |
| uploaded_file: FileData | |