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

@@ -72,8 +72,6 @@ class Predictor():
if mix.ndim == 1: if mix.ndim == 1:
mix = np.asfortranarray([mix,mix]) mix = np.asfortranarray([mix,mix])
samplerate = self.demucs.samplerate
mix = mix.T mix = mix.T
sources = self.demix(mix.T) sources = self.demix(mix.T)
widget_text.write(base_text + 'Inferences complete!\n') widget_text.write(base_text + 'Inferences complete!\n')