Commit ·
05e4db6
1
Parent(s): 8c8c9ab
dont print headers
Browse files- transcribed_calls.py +1 -1
transcribed_calls.py
CHANGED
|
@@ -73,7 +73,7 @@ class TranscribedCalls(datasets.GeneratorBasedBuilder):
|
|
| 73 |
with open(metadata_path) as f:
|
| 74 |
metadata_reader = csv.reader(f)
|
| 75 |
# skip headers
|
| 76 |
-
|
| 77 |
for ((id_, example_split, words, phonemes), (audio_path, audio_file)) in zip(metadata_reader, audio_files):
|
| 78 |
if example_split != split:
|
| 79 |
continue
|
|
|
|
| 73 |
with open(metadata_path) as f:
|
| 74 |
metadata_reader = csv.reader(f)
|
| 75 |
# skip headers
|
| 76 |
+
next(metadata_reader)
|
| 77 |
for ((id_, example_split, words, phonemes), (audio_path, audio_file)) in zip(metadata_reader, audio_files):
|
| 78 |
if example_split != split:
|
| 79 |
continue
|