()
| 637 | print(f"Saved to {cache_path}") |
| 638 | |
| 639 | def download_files(): |
| 640 | if subfolder: |
| 641 | hf_download(repo_id, f"{subfolder}/*", cache_path) |
| 642 | else: |
| 643 | hf_download(repo_id, None, cache_path) |
| 644 | |
| 645 | if hf_path.startswith("hf://"): |
| 646 | hf_path = hf_path[len("hf://"):] |
no test coverage detected