OpenSound commited on
Commit
3632fdf
·
1 Parent(s): b0c1420
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], sample_rate), (output[1], sample_rate)
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):