test_space / typehints.py
KeremBozgan's picture
Upload folder using huggingface_hub
aeea1b1 verified
raw
history blame contribute delete
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