RodrigoLimaRFL
commited on
Update NURC-SP_ENTOA_TTS.py
Browse files- NURC-SP_ENTOA_TTS.py +0 -7
NURC-SP_ENTOA_TTS.py
CHANGED
@@ -113,8 +113,6 @@ class EntoaDataset(GeneratorBasedBuilder):
|
|
113 |
with open(prompts_path, "r") as f:
|
114 |
csv_reader = csv.DictReader(f)
|
115 |
for row in csv_reader:
|
116 |
-
# Debug: Print each row being processed
|
117 |
-
print(f"Processing row: {row}")
|
118 |
|
119 |
if self.config.name == "prosodic":
|
120 |
examples[row["path"]] = {
|
@@ -156,12 +154,7 @@ class EntoaDataset(GeneratorBasedBuilder):
|
|
156 |
id_ = 0
|
157 |
inside_clips_dir = False
|
158 |
|
159 |
-
# Debug: Print path_to_clips for reference
|
160 |
-
print(f"Expected path_to_clips: {path_to_clips}")
|
161 |
-
|
162 |
for path, f in audio_files:
|
163 |
-
# Debug: Print each file in the archive
|
164 |
-
print(f"Audio file in archive: {path}")
|
165 |
|
166 |
if path.startswith(path_to_clips):
|
167 |
inside_clips_dir = True
|
|
|
113 |
with open(prompts_path, "r") as f:
|
114 |
csv_reader = csv.DictReader(f)
|
115 |
for row in csv_reader:
|
|
|
|
|
116 |
|
117 |
if self.config.name == "prosodic":
|
118 |
examples[row["path"]] = {
|
|
|
154 |
id_ = 0
|
155 |
inside_clips_dir = False
|
156 |
|
|
|
|
|
|
|
157 |
for path, f in audio_files:
|
|
|
|
|
158 |
|
159 |
if path.startswith(path_to_clips):
|
160 |
inside_clips_dir = True
|