kira4424 commited on
Commit
df2dfd3
·
1 Parent(s): 4caf02b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def create_tts_fn(model, hps, speaker_ids):
34
  if language is not None:
35
  text = language_marks[language] + text + language_marks[language]
36
  speaker_id = speaker_ids[speaker]
 
37
  stn_tst = get_text(text, hps, False)
38
  with no_grad():
39
  x_tst = stn_tst.unsqueeze(0).to(device)
 
34
  if language is not None:
35
  text = language_marks[language] + text + language_marks[language]
36
  speaker_id = speaker_ids[speaker]
37
+ print(text)
38
  stn_tst = get_text(text, hps, False)
39
  with no_grad():
40
  x_tst = stn_tst.unsqueeze(0).to(device)