Spaces:
Sleeping
Sleeping
o-862-268-o
commited on
app.py
CHANGED
@@ -21,7 +21,7 @@ def func__vcTTS(*ip):
|
|
21 |
try:
|
22 |
vc_tts = TTS(model_name=ip[0], progress_bar=True).to(gcPU)
|
23 |
op = torch.tensor(vc_tts.tts(text=ip[1],speaker_wav=ip[2],language='en')).numpy()
|
24 |
-
return 'vcTTS',(
|
25 |
except Exception as expn:
|
26 |
return expn,gr.Audio()
|
27 |
|
|
|
21 |
try:
|
22 |
vc_tts = TTS(model_name=ip[0], progress_bar=True).to(gcPU)
|
23 |
op = torch.tensor(vc_tts.tts(text=ip[1],speaker_wav=ip[2],language='en')).numpy()
|
24 |
+
return 'vcTTS',(24000,op)
|
25 |
except Exception as expn:
|
26 |
return expn,gr.Audio()
|
27 |
|