Spaces:
Runtime error
Runtime error
| # 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 |