Files changed (2) hide show
  1. common_voice_11_0.py +2 -1
  2. n_shards.json +6 -8
common_voice_11_0.py CHANGED
@@ -41,7 +41,7 @@ _HOMEPAGE = "https://commonvoice.mozilla.org/en/datasets"
41
 
42
  _LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
43
 
44
- _BASE_URL = "https://huggingface.co/datasets/Aniket-Tathe-08/Custom_common_voice_dataset_using_RVC/tree/main/"
45
 
46
  _AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
47
 
@@ -140,6 +140,7 @@ class CommonVoice(datasets.GeneratorBasedBuilder):
140
  audio_urls[split] = [
141
  _AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
142
  ]
 
143
  archive_paths = dl_manager.download(audio_urls)
144
  local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
145
 
 
41
 
42
  _LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
43
 
44
+ _BASE_URL = "https://huggingface.co/datasets/Aniket-Tathe-08/Custom_common_voice_dataset_using_RVC/raw/main/"
45
 
46
  _AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
47
 
 
140
  audio_urls[split] = [
141
  _AUDIO_URL.format(lang=lang, split=split, shard_idx=i) for i in range(n_shards[lang][split])
142
  ]
143
+ print(audio_urls)
144
  archive_paths = dl_manager.download(audio_urls)
145
  local_extracted_archive_paths = dl_manager.extract(archive_paths) if not dl_manager.is_streaming else {}
146
 
n_shards.json CHANGED
@@ -1,10 +1,8 @@
1
  {
2
- "hi": {
3
- "train": 1,
4
- "dev": 1,
5
- "test": 1,
6
- "other": 1,
7
- "invalidated": 0
8
- }
9
  }
10
-
 
1
  {
2
+ "hi": {
3
+ "train": 1,
4
+ "dev": 1,
5
+ "test": 1,
6
+ "other": 1
 
 
7
  }
8
+ }