dcjack commited on
Commit
05d30be
1 Parent(s): 8de65f2

Upload ningbo_voice_0.py

Browse files
Files changed (1) hide show
  1. ningbo_voice_0.py +8 -4
ningbo_voice_0.py CHANGED
@@ -35,13 +35,17 @@ _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/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):
 
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
+ _DATA_URL = "tree/main/"
41
 
42
+ _SHARD_URL = "blob/main/"
43
 
44
+ _AUDIO_URL = _BASE_URL + _DATA_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
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):