fixing data file url
Browse files
multispeaker-tts-sinhala.py
CHANGED
@@ -26,6 +26,7 @@ _CITATION = """
|
|
26 |
"""
|
27 |
_URL = "https://www.openslr.org/30/"
|
28 |
_DATA_URL = "https://www.openslr.org/resources/30/si_lk.tar.gz"
|
|
|
29 |
_LICENSE = "https://www.openslr.org/resources/30/LICENSE.txt"
|
30 |
_LANGUAGES = [
|
31 |
"si",
|
@@ -70,7 +71,7 @@ class SiTTS(datasets.GeneratorBasedBuilder):
|
|
70 |
|
71 |
def _split_generators(self, dl_manager):
|
72 |
abs_path_to_clips = dl_manager.download_and_extract(_DATA_URL)
|
73 |
-
abs_path_to_data = dl_manager.download(
|
74 |
return [
|
75 |
datasets.SplitGenerator(
|
76 |
name=datasets.Split.TRAIN,
|
|
|
26 |
"""
|
27 |
_URL = "https://www.openslr.org/30/"
|
28 |
_DATA_URL = "https://www.openslr.org/resources/30/si_lk.tar.gz"
|
29 |
+
_DATA_FILE_URL = "https://www.openslr.org/resources/30/si_lk.lines.txt"
|
30 |
_LICENSE = "https://www.openslr.org/resources/30/LICENSE.txt"
|
31 |
_LANGUAGES = [
|
32 |
"si",
|
|
|
71 |
|
72 |
def _split_generators(self, dl_manager):
|
73 |
abs_path_to_clips = dl_manager.download_and_extract(_DATA_URL)
|
74 |
+
abs_path_to_data = dl_manager.download(_DATA_FILE_URL)
|
75 |
return [
|
76 |
datasets.SplitGenerator(
|
77 |
name=datasets.Split.TRAIN,
|