Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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([
|
| 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)
|