Kidbea-Virtual_TryOn / monkeypatch.py
Kidbea's picture
This is the first commit
fbefd1a
raw
history blame contribute delete
243 Bytes
# monkeypatch.py
import huggingface_hub
# Monkey patch: If cached_download is not available, alias it to hf_hub_download
if not hasattr(huggingface_hub, "cached_download"):
huggingface_hub.cached_download = huggingface_hub.hf_hub_download