admin commited on
Commit ·
9b2e904
1
Parent(s): 01b88c3
upd md
Browse files- .gitignore +0 -1
- README.md +6 -1
.gitignore
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
-
rename.sh
|
| 2 |
test*
|
| 3 |
*__pycache__*
|
|
|
|
|
|
|
| 1 |
test*
|
| 2 |
*__pycache__*
|
README.md
CHANGED
|
@@ -22,7 +22,12 @@ This study, based on deep learning technology, draws inspiration from classical
|
|
| 22 |
## Usage
|
| 23 |
```python
|
| 24 |
from huggingface_hub import snapshot_download
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
```
|
| 27 |
|
| 28 |
## Maintenance
|
|
|
|
| 22 |
## Usage
|
| 23 |
```python
|
| 24 |
from huggingface_hub import snapshot_download
|
| 25 |
+
|
| 26 |
+
model_dir = snapshot_download(
|
| 27 |
+
"ccmusic-database/pianos",
|
| 28 |
+
cache_dir="./__pycache__",
|
| 29 |
+
)
|
| 30 |
+
print(model_dir)
|
| 31 |
```
|
| 32 |
|
| 33 |
## Maintenance
|