diff --git a/apply.py b/apply.py index 885284f..3fb3f17 100644 --- a/apply.py +++ b/apply.py @@ -12,7 +12,7 @@ import typing as tp from threading import Lock from .demucs.htdemucs import HTDemucs -from .demucs.utils import center_trim, DummyPoolExecutor +from .utils import center_trim, DummyPoolExecutor Model = tp.Union[HTDemucs] diff --git a/audio.py b/audio.py index 691c717..4ced81f 100644 --- a/audio.py +++ b/audio.py @@ -12,7 +12,7 @@ import typing as tp import lameenc import julius -from .demucs.utils import temp_filenames +from .utils import temp_filenames def _read_info(path): stdout_data = sp.check_output([ diff --git a/demucs/demucs.py b/demucs/demucs.py index 518864b..b76aa4c 100644 --- a/demucs/demucs.py +++ b/demucs/demucs.py @@ -7,7 +7,7 @@ from torch import nn from torch.nn import functional as F from states import capture_init -from demucs.utils import center_trim, unfold +from utils import center_trim, unfold from transformer import LayerScale