weird quirk in process_emilia.py where language gets mutated, somehow (I hate python)

This commit is contained in:
mrq 2024-09-10 14:00:27 -05:00
parent d059f6f56d
commit 17487ad70a

View File

@ -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)