OpenSound commited on
Commit
b0c1420
1 Parent(s): 48b3ea9
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 [sample_rate, output[0]], [sample_rate, 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 (output[0], sample_rate), (output[1], sample_rate)
171
 
172
  @spaces.GPU
173
  def process_audio(test_file):
fastgeco/__pycache__/model.cpython-310.pyc ADDED
Binary file (9.55 kB). View file
 
fastgeco/backbones/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (251 Bytes). View file
 
fastgeco/backbones/__pycache__/ncsnpp.cpython-310.pyc ADDED
Binary file (7.45 kB). View file
 
fastgeco/backbones/__pycache__/shared.cpython-310.pyc ADDED
Binary file (4.73 kB). View file
 
fastgeco/backbones/ncsnpp_utils/__pycache__/layers.cpython-310.pyc ADDED
Binary file (20.1 kB). View file
 
fastgeco/backbones/ncsnpp_utils/__pycache__/layerspp.cpython-310.pyc ADDED
Binary file (5.96 kB). View file
 
fastgeco/backbones/ncsnpp_utils/__pycache__/normalization.cpython-310.pyc ADDED
Binary file (6.97 kB). View file
 
geco/__pycache__/data_module.cpython-310.pyc ADDED
Binary file (9.69 kB). View file
 
geco/__pycache__/sdes.cpython-310.pyc ADDED
Binary file (7.93 kB). View file
 
geco/sampling/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (3.4 kB). View file
 
geco/sampling/__pycache__/correctors.cpython-310.pyc ADDED
Binary file (2.33 kB). View file
 
geco/sampling/__pycache__/predictors.cpython-310.pyc ADDED
Binary file (2.5 kB). View file
 
geco/util/__pycache__/inference.cpython-310.pyc ADDED
Binary file (4.7 kB). View file
 
geco/util/__pycache__/other.cpython-310.pyc ADDED
Binary file (4.19 kB). View file
 
geco/util/__pycache__/registry.cpython-310.pyc ADDED
Binary file (1.73 kB). View file
 
geco/util/__pycache__/tensors.cpython-310.pyc ADDED
Binary file (897 Bytes). View file