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((
|
wavs.append((
|
||||||
outpath,
|
outpath,
|
||||||
text,
|
text,
|
||||||
language.lower(),
|
language,
|
||||||
waveform,
|
waveform,
|
||||||
sample_rate
|
sample_rate
|
||||||
))
|
))
|
||||||
|
@ -156,7 +156,7 @@ def process(
|
||||||
try:
|
try:
|
||||||
outpath, text, language, waveform, sample_rate = job
|
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)
|
qnt = quantize(waveform, sr=sample_rate, device=device)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user