RodrigoLimaRFL
commited on
Update NURC-SP_ENTOA_TTS.py
Browse files- NURC-SP_ENTOA_TTS.py +2 -1
NURC-SP_ENTOA_TTS.py
CHANGED
@@ -168,7 +168,8 @@ class NurcSPDataset(GeneratorBasedBuilder):
|
|
168 |
csv_paths.append(file_path)
|
169 |
elif self.config.prompts_type == "automatic":
|
170 |
for row in csv_reader:
|
171 |
-
|
|
|
172 |
"audio_name": row['audio_name'],
|
173 |
"file_path": row['file_path'],
|
174 |
"text": row['text'],
|
|
|
168 |
csv_paths.append(file_path)
|
169 |
elif self.config.prompts_type == "automatic":
|
170 |
for row in csv_reader:
|
171 |
+
file_path = Path(row['file_path']).as_posix()
|
172 |
+
examples[file_path] = {
|
173 |
"audio_name": row['audio_name'],
|
174 |
"file_path": row['file_path'],
|
175 |
"text": row['text'],
|