bzd4576 commited on
Commit
0ce1a06
·
1 Parent(s): 70be026

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def vc_fn(input_audio,vc_transform):
77
  print(sampling_rate)
78
  f0 = resize2d(f0, len(soft[:, 0])) * vc_transform
79
  soft[:, 0] = f0 / 10
80
- sid = torch.LongTensor([0])
81
  stn_tst = torch.FloatTensor(soft)
82
  with torch.no_grad():
83
  x_tst = stn_tst.unsqueeze(0)
 
77
  print(sampling_rate)
78
  f0 = resize2d(f0, len(soft[:, 0])) * vc_transform
79
  soft[:, 0] = f0 / 10
80
+ sid = torch.LongTensor([1])
81
  stn_tst = torch.FloatTensor(soft)
82
  with torch.no_grad():
83
  x_tst = stn_tst.unsqueeze(0)