RodrigoLimaRFL commited on
Commit
a530080
·
verified ·
1 Parent(s): 5cede41

Update NURC-SP_ENTOA_TTS.py

Browse files
Files changed (1) hide show
  1. NURC-SP_ENTOA_TTS.py +1 -1
NURC-SP_ENTOA_TTS.py CHANGED
@@ -125,7 +125,7 @@ class NurcSPDataset(GeneratorBasedBuilder):
125
  examples = {}
126
  csv_paths = []
127
 
128
- with open(filepath[0], "r", encoding="utf-8") as f:
129
  csv_reader = csv.DictReader(f)
130
  if self.config.prompts_type == "prosodic":
131
  for row in csv_reader:
 
125
  examples = {}
126
  csv_paths = []
127
 
128
+ with open(prompts_path, "r", encoding="utf-8") as f:
129
  csv_reader = csv.DictReader(f)
130
  if self.config.prompts_type == "prosodic":
131
  for row in csv_reader: