Update ningbo_voice_0.py
Browse files- ningbo_voice_0.py +4 -8
ningbo_voice_0.py
CHANGED
@@ -35,17 +35,13 @@ _HOMEPAGE = ""
|
|
35 |
_LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
|
36 |
|
37 |
# TODO: change "streaming" to "main" after merge!
|
38 |
-
_BASE_URL = "https://huggingface.co/datasets/dcjack/ningbo_voice_0/"
|
39 |
|
40 |
-
|
41 |
|
42 |
-
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
_TRANSCRIPT_URL = _BASE_URL + _DATA_URL + "transcript/{lang}/{split}.tsv"
|
47 |
-
|
48 |
-
_N_SHARDS_URL = _BASE_URL + _SHARD_URL + "n_shards.json"
|
49 |
|
50 |
|
51 |
class CommonVoiceConfig(datasets.BuilderConfig):
|
|
|
35 |
_LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
|
36 |
|
37 |
# TODO: change "streaming" to "main" after merge!
|
38 |
+
_BASE_URL = "https://huggingface.co/datasets/dcjack/ningbo_voice_0/tree/main/"
|
39 |
|
40 |
+
_AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
|
41 |
|
42 |
+
_TRANSCRIPT_URL = _BASE_URL + "transcript/{lang}/{split}.tsv"
|
43 |
|
44 |
+
_N_SHARDS_URL = _BASE_URL + "n_shards.json"
|
|
|
|
|
|
|
|
|
45 |
|
46 |
|
47 |
class CommonVoiceConfig(datasets.BuilderConfig):
|