Datasets:
admin
commited on
Commit
•
3170d87
1
Parent(s):
58ce406
upd api
Browse files- README.md +1 -1
- erhu_playing_tech.py +2 -5
README.md
CHANGED
@@ -220,7 +220,7 @@ for item in ds["test"]:
|
|
220 |
|
221 |
## Maintenance
|
222 |
```bash
|
223 |
-
|
224 |
cd erhu_playing_tech
|
225 |
```
|
226 |
|
|
|
220 |
|
221 |
## Maintenance
|
222 |
```bash
|
223 |
+
git clone git@hf.co:datasets/ccmusic-database/erhu_playing_tech
|
224 |
cd erhu_playing_tech
|
225 |
```
|
226 |
|
erhu_playing_tech.py
CHANGED
@@ -35,12 +35,9 @@ _NAMES = {
|
|
35 |
],
|
36 |
}
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
_DOMAIN = f"https://www.modelscope.cn/api/v1/datasets/ccmusic-database/{_DBNAME}/repo?Revision=master&FilePath=data"
|
41 |
-
|
42 |
-
_HOMEPAGE = f"https://www.modelscope.cn/datasets/ccmusic-database/{_DBNAME}"
|
43 |
|
|
|
44 |
|
45 |
_URLS = {
|
46 |
"audio": f"{_DOMAIN}/audio.zip",
|
|
|
35 |
],
|
36 |
}
|
37 |
|
38 |
+
_HOMEPAGE = f"https://www.modelscope.cn/datasets/ccmusic-database/{os.path.basename(__file__)[:-3]}"
|
|
|
|
|
|
|
|
|
39 |
|
40 |
+
_DOMAIN = f"{_HOMEPAGE}/resolve/master/data"
|
41 |
|
42 |
_URLS = {
|
43 |
"audio": f"{_DOMAIN}/audio.zip",
|