hhguo commited on
Commit
b02307e
·
1 Parent(s): 288b54b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def tts_inference(text, prompt_wav='examples/prompt_1.wav', lang='zh'):
33
  text=text,
34
  lang=lang,
35
  )
36
- return 48000, syn_audio.detach().cpu()
37
 
38
 
39
  iface = gr.Interface(
 
33
  text=text,
34
  lang=lang,
35
  )
36
+ return 48000, syn_audio.detach().cpu().numpy()
37
 
38
 
39
  iface = gr.Interface(