hieupt commited on
Commit
1cc27a8
1 Parent(s): a7cac90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model = separator.from_hparams(source="speechbrain/sepformer-dns4-16k-enhancemen
7
 
8
  def predict_song(audio_path):
9
  est_sources = model.separate_file(path=audio_path)
10
- torchaudio.save("enhanced_wham.wav", est_sources[:, :, 0].detach().cpu(), 8000)
11
  return "enhanced_wham.wav"
12
 
13
 
 
7
 
8
  def predict_song(audio_path):
9
  est_sources = model.separate_file(path=audio_path)
10
+ torchaudio.save("enhanced_wham.wav", est_sources[:, :, 0].detach().cpu(), 16000)
11
  return "enhanced_wham.wav"
12
 
13