roychao19477 commited on
Commit
db5dbc5
·
1 Parent(s): 79194d9

Update module

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -100,7 +100,8 @@ def run_avse_inference(video_path, audio_path):
100
  }
101
 
102
  with torch.no_grad():
103
- estimated = avse_model.enhance(data).reshape(-1).cpu().numpy()
 
104
 
105
  # Save result
106
  tmp_wav = audio_path.replace(".wav", "_enhanced.wav")
 
100
  }
101
 
102
  with torch.no_grad():
103
+ estimated = avse_model.enhance(data).reshape(-1)
104
+ print(estimated.shape)
105
 
106
  # Save result
107
  tmp_wav = audio_path.replace(".wav", "_enhanced.wav")