Datasets:
Update common_voice_22_0.py
Browse files- common_voice_22_0.py +2 -2
common_voice_22_0.py
CHANGED
|
@@ -42,13 +42,13 @@ _HOMEPAGE = "https://commonvoice.mozilla.org/en/datasets"
|
|
| 42 |
_LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
|
| 43 |
|
| 44 |
# TODO: change "streaming" to "main" after merge!
|
| 45 |
-
_BASE_URL = "https://huggingface.co/datasets/fsicoli/common_voice_22_0/
|
| 46 |
|
| 47 |
_AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
|
| 48 |
|
| 49 |
_TRANSCRIPT_URL = _BASE_URL + "transcript/{lang}/{split}.tsv"
|
| 50 |
|
| 51 |
-
_N_SHARDS_URL =
|
| 52 |
|
| 53 |
|
| 54 |
class CommonVoiceConfig(datasets.BuilderConfig):
|
|
|
|
| 42 |
_LICENSE = "https://creativecommons.org/publicdomain/zero/1.0/"
|
| 43 |
|
| 44 |
# TODO: change "streaming" to "main" after merge!
|
| 45 |
+
_BASE_URL = "https://huggingface.co/datasets/fsicoli/common_voice_22_0/resolve/main/"
|
| 46 |
|
| 47 |
_AUDIO_URL = _BASE_URL + "audio/{lang}/{split}/{lang}_{split}_{shard_idx}.tar"
|
| 48 |
|
| 49 |
_TRANSCRIPT_URL = _BASE_URL + "transcript/{lang}/{split}.tsv"
|
| 50 |
|
| 51 |
+
_N_SHARDS_URL = "https://huggingface.co/datasets/fsicoli/common_voice_22_0/raw/main/" + "n_shards.json"
|
| 52 |
|
| 53 |
|
| 54 |
class CommonVoiceConfig(datasets.BuilderConfig):
|