diff --git a/.aiderignore b/.aiderignore new file mode 100644 index 0000000..1c57c12 --- /dev/null +++ b/.aiderignore @@ -0,0 +1,7 @@ +# Add files or directories to ignore here + +run +lint +test +install +clean diff --git a/.gitignore b/.gitignore index f8b1146..f699f6b 100644 --- a/.gitignore +++ b/.gitignore @@ -134,4 +134,6 @@ tests/localfile/text_video_insane tests/localfile/text_video_api_insane tests/localfile/speaker-test.json .aider* -transcribe_anything/WHISPER_OPTIONS.json \ No newline at end of file +transcribe_anything/WHISPER_OPTIONS.json +!.aider.conf.yml +!.aiderignore \ No newline at end of file diff --git a/transcribe_anything/insanley_fast_whisper_reqs.py b/transcribe_anything/insanley_fast_whisper_reqs.py index 04b3392..97e4b66 100644 --- a/transcribe_anything/insanley_fast_whisper_reqs.py +++ b/transcribe_anything/insanley_fast_whisper_reqs.py @@ -33,8 +33,8 @@ def get_environment() -> dict[str, Any]: venv_dir = HERE / "venv" / "insanely_fast_whisper" deps = [ "openai-whisper", - "insanely-fast-whisper==0.0.13 --ignore-requires-python", - "torchaudio==2.1.2", + "insanely-fast-whisper==0.0.15 --ignore-requires-python", + "torchaudio==2.2.0", "datasets==2.17.1", "pytorch-lightning==2.1.4", "torchmetrics~=1.3.0", diff --git a/transcribe_anything/whisper.py b/transcribe_anything/whisper.py index 1187c57..47b1e0a 100644 --- a/transcribe_anything/whisper.py +++ b/transcribe_anything/whisper.py @@ -33,7 +33,7 @@ def get_environment() -> dict[str, Any]: ) else: deps.append(f"torch=={TENSOR_VERSION}") - env = isolated_environment(venv_dir, deps) + env = isolated_environment(venv_dir, deps, full_isolation=True) return env