wrice commited on
Commit
3d1e219
·
1 Parent(s): 61559e0

handle multi-channel audio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def denoise(model_name, inputs):
52
 
53
  print(f"Denoised shape: {denoised.shape}")
54
 
55
- return model.config.sample_rate, denoised
56
 
57
 
58
  iface = gr.Interface(
 
52
 
53
  print(f"Denoised shape: {denoised.shape}")
54
 
55
+ return model.config.sample_rate, denoised.transpose()
56
 
57
 
58
  iface = gr.Interface(