Mahiruoshi
commited on
Commit
•
b8b8c52
1
Parent(s):
1690279
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ class VitsGradio:
|
|
81 |
return "success"
|
82 |
|
83 |
def get_text(self,text):
|
84 |
-
text_norm = text_to_sequence(text,
|
85 |
if self.hps.data.add_blank:
|
86 |
text_norm = commons.intersperse(text_norm, 0)
|
87 |
text_norm = torch.LongTensor(text_norm)
|
|
|
81 |
return "success"
|
82 |
|
83 |
def get_text(self,text):
|
84 |
+
text_norm = text_to_sequence(text,self.hps.data.text_cleaners)
|
85 |
if self.hps.data.add_blank:
|
86 |
text_norm = commons.intersperse(text_norm, 0)
|
87 |
text_norm = torch.LongTensor(text_norm)
|