Commit ·
02a16a5
1
Parent(s): 65a46b7
Update asr-sample.py
Browse files- asr-sample.py +0 -3
asr-sample.py
CHANGED
|
@@ -125,10 +125,7 @@ class LibrispeechASR(datasets.GeneratorBasedBuilder):
|
|
| 125 |
key = 0
|
| 126 |
audio_data = {}
|
| 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()
|
|
|
|
| 125 |
key = 0
|
| 126 |
audio_data = {}
|
| 127 |
transcripts = []
|
|
|
|
| 128 |
for path, f in files:
|
|
|
|
|
|
|
| 129 |
if path.endswith(".flac"):
|
| 130 |
id_ = path.split("/")[-1][: -len(".flac")]
|
| 131 |
audio_data[id_] = f.read()
|