forked from mrq/ai-voice-cloning
oops
This commit is contained in:
parent
ee8270bdfb
commit
da4f92681e
|
@ -105,7 +105,8 @@
|
|||
"ʊ": 56,
|
||||
"ʌ": 57,
|
||||
"ʒ": 58,
|
||||
"θ": 59
|
||||
"θ": 59,
|
||||
"ː": 60
|
||||
},
|
||||
"merges":
|
||||
[
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 99618694db4cd7b77e68b62753bb8e2418ac0d55
|
||||
Subproject commit 1f674a468f4202ac47feb8fb3587dc5837f2af2b
|
|
@ -1777,7 +1777,7 @@ def tokenize_text( text ):
|
|||
load_tts()
|
||||
|
||||
encoded = tts.tokenizer.encode(text)
|
||||
decoded = tts.tokenizer.tokenizer.decode(encoded, skip_special_tokens=False)
|
||||
decoded = tts.tokenizer.tokenizer.decode(encoded, skip_special_tokens=False).replace(" ", "")
|
||||
|
||||
return "\n".join([ str(encoded), decoded ])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user