asigalov61 commited on
Commit
1d7b0be
1 Parent(s): 3d0fd60

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -8
README.md CHANGED
@@ -31,16 +31,14 @@ task_categories:
31
  # Installation
32
 
33
  ```python
34
- import shutil
35
- from huggingface_hub import hf_hub_download
36
 
37
- hf_hub_download(repo_id="asigalov61/MIDI-Images",
38
- repo_type="dataset",
39
- filename="MIDI-Images-Dataset-CC-BY-NC-SA.zip",
40
- local_dir="."
41
- )
42
 
43
- shutil.unpack_archive("MIDI-Images-Dataset-CC-BY-NC-SA.zip", ".")
 
 
44
  ```
45
 
46
  ***
 
31
  # Installation
32
 
33
  ```python
34
+ from huggingface_hub import snapshot_download
 
35
 
36
+ repo_id = "asigalov61/MIDI-Images"
37
+ repo_type = 'dataset'
 
 
 
38
 
39
+ local_dir = "./MIDI-Images"
40
+
41
+ snapshot_download(repo_id, repo_type=repo_type, local_dir=local_dir)
42
  ```
43
 
44
  ***