OpenSound commited on
Commit
48b3ea9
·
verified ·
1 Parent(s): 917235e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):