Update mypin-voice-dataset.py
Browse files- mypin-voice-dataset.py +1 -2
mypin-voice-dataset.py
CHANGED
@@ -61,6 +61,5 @@ class MyDataset(datasets.GeneratorBasedBuilder):
|
|
61 |
for idx, record in enumerate(examples):
|
62 |
yield idx, {
|
63 |
"sentence": record["sentence"],
|
64 |
-
|
65 |
-
"audio": os.path.join(audio_dir, "audio", record["file_name"]), # Correct path to the audio file
|
66 |
}
|
|
|
61 |
for idx, record in enumerate(examples):
|
62 |
yield idx, {
|
63 |
"sentence": record["sentence"],
|
64 |
+
"audio": os.path.join(audio_dir, record["file_name"]), # Correct path to the audio file
|
|
|
65 |
}
|