Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
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(
|