EDGAhab commited on
Commit
65a0d06
1 Parent(s): 6e38e1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def vc_fn(input):
39
  x_tst_lengths = torch.LongTensor([stn_tst.size(0)])
40
  audio = net_g.infer(x_tst, x_tst_lengths, noise_scale=.667, noise_scale_w=0.8, length_scale=1)[0][0,0].data.cpu().float().numpy()
41
  sampling_rate = 22050
42
- return (sampling_rateaudio)
43
 
44
  app = gr.Blocks()
45
  with app:
 
39
  x_tst_lengths = torch.LongTensor([stn_tst.size(0)])
40
  audio = net_g.infer(x_tst, x_tst_lengths, noise_scale=.667, noise_scale_w=0.8, length_scale=1)[0][0,0].data.cpu().float().numpy()
41
  sampling_rate = 22050
42
+ return (sampling_rate, audio)
43
 
44
  app = gr.Blocks()
45
  with app: