Commit ·
65a46b7
1
Parent(s): a2e2362
Update asr-sample.py
Browse files- asr-sample.py +2 -0
asr-sample.py
CHANGED
|
@@ -127,6 +127,8 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 127 |
transcripts = []
|
| 128 |
print("files.....",files)
|
| 129 |
for path, f in files:
|
|
|
|
|
|
|
| 130 |
if path.endswith(".flac"):
|
| 131 |
id_ = path.split("/")[-1][: -len(".flac")]
|
| 132 |
audio_data[id_] = f.read()
|
|
|
|
| 127 |
transcripts = []
|
| 128 |
print("files.....",files)
|
| 129 |
for path, f in files:
|
| 130 |
+
print(path)
|
| 131 |
+
print(f)
|
| 132 |
if path.endswith(".flac"):
|
| 133 |
id_ = path.split("/")[-1][: -len(".flac")]
|
| 134 |
audio_data[id_] = f.read()
|