Spaces:
Running
Running
Update app.py
#5
by
xiaoDaos
- opened
app.py
CHANGED
@@ -100,6 +100,7 @@ MAX_LENGTH = 600.0
|
|
100 |
model = BandwidthExtender.from_pretrained("hifi-gan-bwe-10-42890e3-vctk-48kHz")
|
101 |
|
102 |
def extend(audio):
|
|
|
103 |
fs, x = audio
|
104 |
x = x[:int(MAX_LENGTH * fs)]
|
105 |
x = x.astype(np.float32) / 32767.0
|
|
|
100 |
model = BandwidthExtender.from_pretrained("hifi-gan-bwe-10-42890e3-vctk-48kHz")
|
101 |
|
102 |
def extend(audio):
|
103 |
+
print(audio)
|
104 |
fs, x = audio
|
105 |
x = x[:int(MAX_LENGTH * fs)]
|
106 |
x = x.astype(np.float32) / 32767.0
|