diff --git a/vall_e/inference.py b/vall_e/inference.py index 1639b4a..87d9d37 100644 --- a/vall_e/inference.py +++ b/vall_e/inference.py @@ -114,10 +114,12 @@ class TTS(): return text # check if tokenizes without any unks (for example, if already phonemized text is passes) + """ if precheck and "" in self.symmap: tokens = tokenize( text ) if self.symmap[""] not in tokens: return torch.tensor( tokens ) + """ if not phonemize: return torch.tensor( text_tokenize( text ) )