bjelkenhed
commited on
Commit
•
2dadf3d
1
Parent(s):
c7051da
clean up
Browse files- babelbox_voice.py +1 -15
babelbox_voice.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
""" Babelbox Voice Dataset"""
|
2 |
|
3 |
import os
|
4 |
import csv
|
@@ -18,11 +18,6 @@ _CITATION = """\
|
|
18 |
}
|
19 |
"""
|
20 |
|
21 |
-
_DL_BASE_URL = "https://huggingface.co/datasets/babelbox/babelbox_voice/resolve/main/data/nst"
|
22 |
-
_DL_URL_FORMAT = _DL_BASE_URL + "/nst-data-{:0>3d}.tar.gz"
|
23 |
-
|
24 |
-
_METADATA_URL = "https://huggingface.co/datasets/babelbox/babelbox_voice/resolve/main/data/nst/metadata.tar.gz"
|
25 |
-
|
26 |
_HF_REPO_PATH = "https://huggingface.co/datasets/babelbox/babelbox_voice/"
|
27 |
|
28 |
class BabelboxVoiceConfig(datasets.BuilderConfig):
|
@@ -60,15 +55,6 @@ class BabelboxVoice(datasets.GeneratorBasedBuilder):
|
|
60 |
data_url= _HF_REPO_PATH + "resolve/main/data/nst/nst-data-{:0>3d}.tar.gz",
|
61 |
nb_data_shards = 42,
|
62 |
metadata_url= _HF_REPO_PATH + "resolve/main/data/nst/metadata.tar.gz"
|
63 |
-
),
|
64 |
-
BabelboxVoiceConfig(
|
65 |
-
name="audiosubs",
|
66 |
-
version=VERSION,
|
67 |
-
description="This part of Babel Voice includes data from audio with subtitles",
|
68 |
-
features=["path", "audio", "sentence"],
|
69 |
-
data_url= _HF_REPO_PATH + "resolve/main/data/audiosubs/audiosubs-data-{:0>3d}.tar.gz",
|
70 |
-
nb_data_shards = 2,
|
71 |
-
metadata_url= None
|
72 |
)
|
73 |
]
|
74 |
|
|
|
1 |
+
!pip install pysrt""" Babelbox Voice Dataset"""
|
2 |
|
3 |
import os
|
4 |
import csv
|
|
|
18 |
}
|
19 |
"""
|
20 |
|
|
|
|
|
|
|
|
|
|
|
21 |
_HF_REPO_PATH = "https://huggingface.co/datasets/babelbox/babelbox_voice/"
|
22 |
|
23 |
class BabelboxVoiceConfig(datasets.BuilderConfig):
|
|
|
55 |
data_url= _HF_REPO_PATH + "resolve/main/data/nst/nst-data-{:0>3d}.tar.gz",
|
56 |
nb_data_shards = 42,
|
57 |
metadata_url= _HF_REPO_PATH + "resolve/main/data/nst/metadata.tar.gz"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
)
|
59 |
]
|
60 |
|