From 690947ad36824a9f4bff0b11b62156effec81180 Mon Sep 17 00:00:00 2001 From: mrq Date: Sat, 26 Aug 2023 00:02:17 +0000 Subject: [PATCH] Do not double phonemize if using VALL-E backend (I wonder how many hours I've wasted from this oversight) --- src/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils.py b/src/utils.py index 00d9c24..85d9701 100755 --- a/src/utils.py +++ b/src/utils.py @@ -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: