Spaces:
Sleeping
Sleeping
add app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,8 @@ def denoise(inputs):
|
|
10 |
audio = torch.from_numpy(audio)[None]
|
11 |
audio = audio / 32768.0
|
12 |
|
|
|
|
|
13 |
if audio.shape[0] > 1:
|
14 |
audio = audio[0].unsqueeze(0)
|
15 |
|
|
|
10 |
audio = torch.from_numpy(audio)[None]
|
11 |
audio = audio / 32768.0
|
12 |
|
13 |
+
print(audio.shape)
|
14 |
+
|
15 |
if audio.shape[0] > 1:
|
16 |
audio = audio[0].unsqueeze(0)
|
17 |
|