RodrigoLimaRFL commited on
Commit
6488229
·
verified ·
1 Parent(s): 935f7c2

Update NURC-SP_ENTOA_TTS.py

Browse files
Files changed (1) hide show
  1. 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
- examples[row['file_path']] = {
 
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'],