asigalov61
commited on
Commit
•
1d7b0be
1
Parent(s):
3d0fd60
Update README.md
Browse files
README.md
CHANGED
@@ -31,16 +31,14 @@ task_categories:
|
|
31 |
# Installation
|
32 |
|
33 |
```python
|
34 |
-
import
|
35 |
-
from huggingface_hub import hf_hub_download
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
filename="MIDI-Images-Dataset-CC-BY-NC-SA.zip",
|
40 |
-
local_dir="."
|
41 |
-
)
|
42 |
|
43 |
-
|
|
|
|
|
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 |
***
|