Datasets:
Languages:
Portuguese
License:
Update NURC-SP_Corpus_Minimo.py
Browse files- NURC-SP_Corpus_Minimo.py +4 -1
NURC-SP_Corpus_Minimo.py
CHANGED
@@ -43,9 +43,12 @@ class NurcSPDataset(GeneratorBasedBuilder):
|
|
43 |
if not archive:
|
44 |
msg = "NAO TEM ARQUIVO"
|
45 |
raise ValueError(msg)
|
|
|
|
|
|
|
46 |
|
47 |
# Define the path_to_clips variable, pointing to the directory where the audio clips are stored
|
48 |
-
path_to_clips = "segmented_audios" # Update this with the actual path
|
49 |
|
50 |
return [
|
51 |
SplitGenerator(
|
|
|
43 |
if not archive:
|
44 |
msg = "NAO TEM ARQUIVO"
|
45 |
raise ValueError(msg)
|
46 |
+
else
|
47 |
+
msg = "TEM ARQUIVO"
|
48 |
+
raise ValueError(msg)
|
49 |
|
50 |
# Define the path_to_clips variable, pointing to the directory where the audio clips are stored
|
51 |
+
path_to_clips = "segmented_audios/" # Update this with the actual path
|
52 |
|
53 |
return [
|
54 |
SplitGenerator(
|