File size: 282 Bytes
f5a2c54
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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