chenjgtea
commited on
Commit
·
b55dfe6
1
Parent(s):
5044663
'add'
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def create_calback(net_g: SynthesizerTrn, tts_front: VITS_PinYin):
|
|
22 |
if text_len > max_len:
|
23 |
print(" Text is too long \n")
|
24 |
return "Error: Text is too long,max len:".max_len, None
|
25 |
-
print(" convert text: "
|
26 |
phonemes, char_embeds = tts_front.chinese_to_phonemes(text)
|
27 |
input_ids = cleaned_text_to_sequence(phonemes)
|
28 |
with torch.no_grad():
|
|
|
22 |
if text_len > max_len:
|
23 |
print(" Text is too long \n")
|
24 |
return "Error: Text is too long,max len:".max_len, None
|
25 |
+
print(" start convert text: ")
|
26 |
phonemes, char_embeds = tts_front.chinese_to_phonemes(text)
|
27 |
input_ids = cleaned_text_to_sequence(phonemes)
|
28 |
with torch.no_grad():
|