Spaces:
Running
Running
File size: 537 Bytes
579d97a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | from typing import Any, TypedDict
from gradio import FileData
class LogEntry(TypedDict, total=False):
project: str
run: str
metrics: dict[str, Any]
step: int | None
config: dict[str, Any] | None
log_id: str | None
class SystemLogEntry(TypedDict, total=False):
project: str
run: str
metrics: dict[str, Any]
timestamp: str
log_id: str | None
class UploadEntry(TypedDict):
project: str
run: str | None
step: int | None
relative_path: str | None
uploaded_file: FileData
|