Spaces:
Runtime error
Runtime error
Download download.py from DennisHung/DiffmorpherXAp-adapter: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/DennisHung/DiffmorpherXAp-adapter/resolve/main/download.py
- Command line
-
hf download hf://spaces/DennisHung/DiffmorpherXAp-adapter/download.py
-
curl -L -o download.py https://huggingface.co/spaces/DennisHung/DiffmorpherXAp-adapter/resolve/main/download.py
281 Bytes
| from huggingface_hub import hf_hub_download | |
| import torch | |
| model_path = hf_hub_download( | |
| repo_id="DennisHung/Pre-trained_AudioMAE_weights", | |
| filename="pytorch_model.bin", | |
| local_dir="./", | |
| local_dir_use_symlinks=False | |
| ) | |