jineeuslab commited on
Commit
9adf2ef
·
verified ·
1 Parent(s): fce3569

Update su_id_asr_split.py

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