Update separate.py

This commit is contained in:
aufr33 2023-02-14 14:10:47 +03:00 committed by GitHub
parent bf19d63b33
commit c042ca613f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,6 +309,8 @@ class SeperateMDX(SeperateAttributes):
_ort = self.onnx_model if not is_match_mix else None
adjust = 1
spek = self.stft(mix_waves)*adjust
# Remove DC offset
spek[:, :, :3, :] *= 0
if not is_match_mix:
if self.is_denoise: