mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
better version control for phonemizer
This commit is contained in:
@@ -84,7 +84,7 @@ def mozilla_de(root_path, meta_file):
|
||||
for line in ttf:
|
||||
cols = line.strip().split('|')
|
||||
wav_file = cols[0].strip()
|
||||
text = cols[1].strip()
|
||||
text = cols[1].strip()
|
||||
folder_name = f"BATCH_{wav_file.split('_')[0]}_FINAL"
|
||||
wav_file = os.path.join(root_path, folder_name, wav_file)
|
||||
items.append([text, wav_file, speaker_name])
|
||||
|
||||
Reference in New Issue
Block a user