weird quirk in process_emilia.py where language gets mutated, somehow (I hate python)
This commit is contained in:
parent
d059f6f56d
commit
17487ad70a
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user