ORI-Muchim commited on
Commit
739b7a5
·
1 Parent(s): 5412f11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, [] if is_phoneme else hps.data.text_cleaners)
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)