mirror of https://github.com/coqui-ai/TTS.git
Adding missing key to formatter (#2194)
quick fix for #2156. added 'root_path' key.
This commit is contained in:
parent
0c9fa2229b
commit
2e153d54a8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue