Do not double phonemize if using VALL-E backend (I wonder how many hours I've wasted from this oversight)
This commit is contained in:
parent
b4dc103931
commit
690947ad36
|
@ -2475,6 +2475,9 @@ def phonemizer( text, language="en-us" ):
|
|||
tokenized = " ".join( tokens )
|
||||
|
||||
def should_phonemize():
|
||||
if args.tts_backend == "vall-e":
|
||||
return False
|
||||
|
||||
should = args.tokenizer_json is not None and args.tokenizer_json[-8:] == "ipa.json"
|
||||
if should:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user