mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
Adding missing key to formatter (#2194)
quick fix for #2156. added 'root_path' key.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user