diff --git a/nbs/1B. Voice activity detection.ipynb b/nbs/1B. Voice activity detection.ipynb index 6f81eec..20285bf 100644 --- a/nbs/1B. Voice activity detection.ipynb +++ b/nbs/1B. Voice activity detection.ipynb @@ -62,7 +62,7 @@ "import whisperx\n", "\n", "from whisperspeech.inference import get_compute_device\n", - "from . import utils" + "from whisperspeech import utils" ] }, { diff --git a/nbs/7. Pipeline.ipynb b/nbs/7. Pipeline.ipynb index a3fc621..9e023d0 100644 --- a/nbs/7. Pipeline.ipynb +++ b/nbs/7. Pipeline.ipynb @@ -20,10 +20,10 @@ "#| exporti\n", "from os.path import expanduser\n", "import torch\n", - "from .t2s_up_wds_mlang_enclm import TSARTransformer\n", - "from .s2a_delar_mup_wds_mlang import SADelARTransformer\n", - "from .a2wav import Vocoder\n", - "from . import inference\n", + "from whisperspeech.t2s_up_wds_mlang_enclm import TSARTransformer\n", + "from whisperspeech.s2a_delar_mup_wds_mlang import SADelARTransformer\n", + "from whisperspeech.a2wav import Vocoder\n", + "from whisperspeech import inference\n", "import traceback\n", "from pathlib import Path" ] diff --git a/whisperspeech/pipeline.py b/whisperspeech/pipeline.py index 0e1b827..b25ab45 100644 --- a/whisperspeech/pipeline.py +++ b/whisperspeech/pipeline.py @@ -6,10 +6,10 @@ # %% ../nbs/7. Pipeline.ipynb 1 from os.path import expanduser import torch -from .t2s_up_wds_mlang_enclm import TSARTransformer -from .s2a_delar_mup_wds_mlang import SADelARTransformer -from .a2wav import Vocoder -from . import inference +from whisperspeech.t2s_up_wds_mlang_enclm import TSARTransformer +from whisperspeech.s2a_delar_mup_wds_mlang import SADelARTransformer +from whisperspeech.a2wav import Vocoder +from whisperspeech import inference import traceback from pathlib import Path diff --git a/whisperspeech/vad.py b/whisperspeech/vad.py index f487e30..5c63ffe 100644 --- a/whisperspeech/vad.py +++ b/whisperspeech/vad.py @@ -19,7 +19,7 @@ import whisperx from whisperspeech.inference import get_compute_device -from . import utils +from whisperspeech import utils # %% ../nbs/1B. Voice activity detection.ipynb 5 # some of the original file names have a dot in their name