Adding missing key to formatter (#2194)

quick fix for #2156.
 added 'root_path' key.
This commit is contained in:
p0p4k
2022-12-12 12:25:37 +01:00
committed by GitHub
parent 0c9fa2229b
commit 2e153d54a8
+1 -1
View File
@@ -599,5 +599,5 @@ def kss(root_path, meta_file, **kwargs): # pylint: disable=unused-argument
cols = line.split("|")
wav_file = os.path.join(root_path, cols[0])
text = cols[2] # cols[1] => 6월, cols[2] => 유월
items.append({"text": text, "audio_file": wav_file, "speaker_name": speaker_name})
items.append({"text": text, "audio_file": wav_file, "speaker_name": speaker_name, "root_path": root_path})
return items