Winoto commited on
Commit
0d21285
1 Parent(s): 41da457

Update jv_id_asr.py

Browse files
Files changed (1) hide show
  1. jv_id_asr.py +1 -1
jv_id_asr.py CHANGED
@@ -140,7 +140,7 @@ class JvIdASR(datasets.GeneratorBasedBuilder):
140
  tsv_file = csv.reader(f, delimiter="\t")
141
  for line in tsv_file:
142
  audio_id, sp_id, text = line[0], line[1], line[2]
143
- wav_path = os.path.join(filepath, "asr_javanese", "data", "{}".format(audio_id[:2]), "{}.flac".format(audio_id))
144
 
145
  if os.path.exists(wav_path):
146
  if self.config.schema == "source":
 
140
  tsv_file = csv.reader(f, delimiter="\t")
141
  for line in tsv_file:
142
  audio_id, sp_id, text = line[0], line[1], line[2]
143
+ wav_path = os.path.join(filepath, "asr_javanese", "data", "{}.flac".format(audio_id))
144
 
145
  if os.path.exists(wav_path):
146
  if self.config.schema == "source":