Spaces:
Build error
Build error
Download typehints.py from Carlyn2015/stitich-diffusion-test-6: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/Carlyn2015/stitich-diffusion-test-6/resolve/main/typehints.py
- Command line
-
hf download hf://spaces/Carlyn2015/stitich-diffusion-test-6/typehints.py
-
curl -L -o typehints.py https://huggingface.co/spaces/Carlyn2015/stitich-diffusion-test-6/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 | |