ORI-Muchim commited on
Commit
99487b9
1 Parent(s): 18ec814

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def create_tts_fn(model, hps, speaker_ids):
42
  return "Error: Text is too long", None
43
 
44
  speaker_id = speaker_ids[speaker]
45
- stn_tst = get_text(text, hps, is_phoneme)
46
  with no_grad():
47
  x_tst = stn_tst.unsqueeze(0)
48
  x_tst_lengths = LongTensor([stn_tst.size(0)])
 
42
  return "Error: Text is too long", None
43
 
44
  speaker_id = speaker_ids[speaker]
45
+ stn_tst = get_text(text, hps)
46
  with no_grad():
47
  x_tst = stn_tst.unsqueeze(0)
48
  x_tst_lengths = LongTensor([stn_tst.size(0)])