Datasets:
Languages:
Portuguese
License:
Update NURC-SP_Corpus_Minimo.py
Browse files- NURC-SP_Corpus_Minimo.py +3 -2
NURC-SP_Corpus_Minimo.py
CHANGED
|
@@ -51,7 +51,8 @@ class NurcSPDataset(GeneratorBasedBuilder):
|
|
| 51 |
# Define the path_to_clips variable, pointing to the directory where the audio clips are stored
|
| 52 |
path_to_clips = "segmented_audios" # Update this with the actual path
|
| 53 |
|
| 54 |
-
print(
|
|
|
|
| 55 |
|
| 56 |
return [
|
| 57 |
SplitGenerator(
|
|
@@ -61,7 +62,7 @@ class NurcSPDataset(GeneratorBasedBuilder):
|
|
| 61 |
"path_to_clips": path_to_clips,
|
| 62 |
"audio_files": dl_manager.iter_archive(archive["train"]),
|
| 63 |
}
|
| 64 |
-
)
|
| 65 |
]
|
| 66 |
|
| 67 |
def _generate_examples(self, prompts_path, path_to_clips, audio_files):
|
|
|
|
| 51 |
# Define the path_to_clips variable, pointing to the directory where the audio clips are stored
|
| 52 |
path_to_clips = "segmented_audios" # Update this with the actual path
|
| 53 |
|
| 54 |
+
print("prompts_path:", prompts_path)
|
| 55 |
+
print("archive['train']:", archive["train"])
|
| 56 |
|
| 57 |
return [
|
| 58 |
SplitGenerator(
|
|
|
|
| 62 |
"path_to_clips": path_to_clips,
|
| 63 |
"audio_files": dl_manager.iter_archive(archive["train"]),
|
| 64 |
}
|
| 65 |
+
),
|
| 66 |
]
|
| 67 |
|
| 68 |
def _generate_examples(self, prompts_path, path_to_clips, audio_files):
|