Spaces:
Runtime error
Runtime error
Commit
·
739b7a5
1
Parent(s):
5412f11
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in h
|
|
17 |
|
18 |
|
19 |
def get_text(text, hps, is_phoneme):
|
20 |
-
text_norm = text_to_sequence(text, hps.symbols,
|
21 |
if hps.data.add_blank:
|
22 |
text_norm = commons.intersperse(text_norm, 0)
|
23 |
text_norm = LongTensor(text_norm)
|
|
|
17 |
|
18 |
|
19 |
def get_text(text, hps, is_phoneme):
|
20 |
+
text_norm = text_to_sequence(text, hps.symbols, hps.data.text_cleaners)
|
21 |
if hps.data.add_blank:
|
22 |
text_norm = commons.intersperse(text_norm, 0)
|
23 |
text_norm = LongTensor(text_norm)
|