fariska commited on
Commit
54c6ebe
·
verified ·
1 Parent(s): 18ad9ec

Update asr_sundanese.py

Browse files
Files changed (1) hide show
  1. asr_sundanese.py +1 -1
asr_sundanese.py CHANGED
@@ -122,7 +122,7 @@ class SuIdASR(datasets.GeneratorBasedBuilder):
122
  for line in tsv_file:
123
  audio_id, speaker_id, transcription_text = line[0], line[1], line[2]
124
 
125
- wav_path = os.path.join(filepath, "asr_sundanese", "data", "{}".format(audio_id[:2]), "{}.flac".format(audio_id))
126
 
127
  if os.path.exists(wav_path):
128
  if self.config.schema == "source":
 
122
  for line in tsv_file:
123
  audio_id, speaker_id, transcription_text = line[0], line[1], line[2]
124
 
125
+ wav_path = os.path.join(filepath, "asr_sundanese", "{}.flac".format(audio_id))
126
 
127
  if os.path.exists(wav_path):
128
  if self.config.schema == "source":