6464# !pip install matplotlib
6565# !pip install midirenderer
6666# !pip install mididoctor
67- # !pip install numpy==1.24 .4
67+ # !pip install numpy==1.26 .4
6868#
6969###################################################################################
7070###################################################################################
@@ -3454,7 +3454,8 @@ def parallel_extract(tar_path: str = './Discover-MIDI-Dataset/Discover-MIDI-Data
34543454def download_dataset (repo_id = 'projectlosangeles/Discover-MIDI-Dataset' ,
34553455 filename = 'Discover-MIDI-Dataset-CC-BY-NC-SA.tar.gz' ,
34563456 local_dir = './Discover-MIDI-Dataset/' ,
3457- verbose = True
3457+ verbose = True ,
3458+ ** kwargs
34583459 ):
34593460
34603461 """Download the Discover MIDI Dataset archive from the Hugging Face Hub.
@@ -3477,6 +3478,8 @@ def download_dataset(repo_id='projectlosangeles/Discover-MIDI-Dataset',
34773478 Local directory where the downloaded file will be stored or cached.
34783479 The directory will be created by the underlying `hf_hub_download` if
34793480 necessary. Default: `'./Discover-MIDI-Dataset/'`.
3481+ kwargs : dict, optional
3482+ Additional args for hf_hub_download function
34803483
34813484 Returns
34823485 -------
@@ -3512,7 +3515,8 @@ def download_dataset(repo_id='projectlosangeles/Discover-MIDI-Dataset',
35123515 result = hf_hub_download (repo_id = repo_id ,
35133516 repo_type = 'dataset' ,
35143517 filename = filename ,
3515- local_dir = local_dir
3518+ local_dir = local_dir ,
3519+ ** kwargs
35163520 )
35173521
35183522 print ('=' * 70 )
0 commit comments