add stem, because there seems to be random shuffling here
Browse files- nst_swedish_tts.py +2 -0
nst_swedish_tts.py
CHANGED
@@ -85,6 +85,7 @@ class NSTDataset(datasets.GeneratorBasedBuilder):
|
|
85 |
"audio": datasets.Audio(sampling_rate=44_100),
|
86 |
"pitch_tracker": datasets.Audio(sampling_rate=44_100),
|
87 |
"text": datasets.Value("string"),
|
|
|
88 |
}
|
89 |
)
|
90 |
|
@@ -152,5 +153,6 @@ class NSTDataset(datasets.GeneratorBasedBuilder):
|
|
152 |
"id": stem,
|
153 |
},
|
154 |
"text": transcripts[stem],
|
|
|
155 |
}
|
156 |
|
|
|
85 |
"audio": datasets.Audio(sampling_rate=44_100),
|
86 |
"pitch_tracker": datasets.Audio(sampling_rate=44_100),
|
87 |
"text": datasets.Value("string"),
|
88 |
+
"file_stem": datasets.Value("string"),
|
89 |
}
|
90 |
)
|
91 |
|
|
|
153 |
"id": stem,
|
154 |
},
|
155 |
"text": transcripts[stem],
|
156 |
+
"file_stem": stem,
|
157 |
}
|
158 |
|