Bur3hani's picture
Upload folder using huggingface_hub (part 4)
103b71d verified
Raw
History Blame Contribute Delete
233 Bytes
"""`tqdm` version detector. Precedence: installed dist, git, 'UNKNOWN'."""
from importlib.metadata import PackageNotFoundError, version
try:
__version__ = version('tqdm')
except PackageNotFoundError:
__version__ = "UNKNOWN"