jamtur01's picture
Upload folder using huggingface_hub
9c6594c verified
raw
history blame contribute delete
205 Bytes
import os
from typing import TypeVar, Union
T = TypeVar("T")
ListLike = Union[list[T], tuple[T, ...]]
NestedDataStructureLike = Union[T, list[T], dict[str, T]]
PathLike = Union[str, bytes, os.PathLike]