o-862-268-o commited on
Commit
b770598
·
verified ·
1 Parent(s): cbfbfba
Files changed (1) hide show
  1. app.py +1 -1
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',(44000,op)
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