aburnazyan
commited on
Commit
•
568948d
1
Parent(s):
eec169b
debugging
Browse files- hy_asr_grqaser.py +1 -3
hy_asr_grqaser.py
CHANGED
@@ -38,9 +38,7 @@ class HyAsrGrqaser(GeneratorBasedBuilder):
|
|
38 |
# Generate examples
|
39 |
for idx, row in metadata.iterrows():
|
40 |
file_path = os.path.join(data_dir, row['file_name'])
|
41 |
-
|
42 |
-
with open(transcription_path, 'r') as f:
|
43 |
-
transcription = f.read().strip()
|
44 |
yield idx, {
|
45 |
'audio': {'path': file_path},
|
46 |
'sentence': transcription
|
|
|
38 |
# Generate examples
|
39 |
for idx, row in metadata.iterrows():
|
40 |
file_path = os.path.join(data_dir, row['file_name'])
|
41 |
+
transcription = row['transcription']
|
|
|
|
|
42 |
yield idx, {
|
43 |
'audio': {'path': file_path},
|
44 |
'sentence': transcription
|