CjangCjengh commited on
Commit
69e221d
·
1 Parent(s): 52eb47a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -42,6 +42,7 @@ def speech_synthesize(text,script, speaker_id, length_scale):
42
  text=text.replace('\n','')
43
  if script!='Devanagari':
44
  text=sanscript.transliterate(text,SCRIPT_DICT[script],sanscript.DEVANAGARI)
 
45
  stn_tst = get_text(text, hps_ms)
46
  with torch.no_grad():
47
  x_tst = stn_tst.unsqueeze(0)
 
42
  text=text.replace('\n','')
43
  if script!='Devanagari':
44
  text=sanscript.transliterate(text,SCRIPT_DICT[script],sanscript.DEVANAGARI)
45
+ print(text)
46
  stn_tst = get_text(text, hps_ms)
47
  with torch.no_grad():
48
  x_tst = stn_tst.unsqueeze(0)