hhguo commited on
Commit
b6d3994
·
1 Parent(s): 83ffe8e
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -35,6 +35,7 @@ def tts_inference(text, prompt_wav='examples/prompt_1.wav', lang='zh'):
35
  text=text,
36
  lang=lang,
37
  ).detach().cpu().numpy()
 
38
  syn_audio = (syn_audio * 32768).astype(np.int16)
39
  return 48000, syn_audio
40
 
 
35
  text=text,
36
  lang=lang,
37
  ).detach().cpu().numpy()
38
+ print(f'Generate waveform with the shape of {syn_audio.shape}')
39
  syn_audio = (syn_audio * 32768).astype(np.int16)
40
  return 48000, syn_audio
41