Merge branch 'dev' of github.com:mozilla/TTS into dev

This commit is contained in:
Eren Golge
2019-01-05 19:28:07 +01:00
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ def tts_cache(root_path, meta_file):
with open(txt_file, 'r', encoding='utf8') as f:
for line in f:
cols = line.split('| ')
items.append(cols) # wav_full_path, mel_name, linear_name, wav_len, mel_len, text
items.append(cols) # text, wav_full_path, mel_name, linear_name, wav_len, mel_len
random.shuffle(items)
return items