diff --git a/scripts/process_emilia.py b/scripts/process_emilia.py index ded3323..1b54d28 100644 --- a/scripts/process_emilia.py +++ b/scripts/process_emilia.py @@ -146,7 +146,7 @@ def process( wavs.append(( outpath, text, - language.lower(), + language, waveform, sample_rate )) @@ -156,7 +156,7 @@ def process( try: outpath, text, language, waveform, sample_rate = job - phones = phonemize(text, language=language) + phones = phonemize(text, language=f'{language}'.lower()) qnt = quantize(waveform, sr=sample_rate, device=device)