Update app.py
Browse files
app.py
CHANGED
@@ -167,7 +167,7 @@ def correct(model, est_sources, mix):
|
|
167 |
x_hat = x_hat / new_norm_factor
|
168 |
x_hat = x_hat.squeeze().cpu().numpy()
|
169 |
output.append(x_hat)
|
170 |
-
return output[0], output[1]
|
171 |
|
172 |
@spaces.GPU
|
173 |
def process_audio(test_file):
|
|
|
167 |
x_hat = x_hat / new_norm_factor
|
168 |
x_hat = x_hat.squeeze().cpu().numpy()
|
169 |
output.append(x_hat)
|
170 |
+
return [sample_rate, output[0]], [sample_rate, output[1]]
|
171 |
|
172 |
@spaces.GPU
|
173 |
def process_audio(test_file):
|