Update inference_demucs.py

This commit is contained in:
Anjok07
2022-06-27 14:50:36 -05:00
committed by GitHub
parent fbbeacdd59
commit 7cce5e303a

View File

@@ -71,8 +71,6 @@ class Predictor():
mix, samplerate = librosa.load(m, mono=False, sr=44100)
if mix.ndim == 1:
mix = np.asfortranarray([mix,mix])
samplerate = self.demucs.samplerate
mix = mix.T
sources = self.demix(mix.T)