Skip to content

Commit

Permalink
Add .aiderignore and update dependencies versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Jun 23, 2024
1 parent 6300bf0 commit c9e5521
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .aiderignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Add files or directories to ignore here

run
lint
test
install
clean
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
transcribe_anything/WHISPER_OPTIONS.json
!.aider.conf.yml
!.aiderignore
4 changes: 2 additions & 2 deletions transcribe_anything/insanley_fast_whisper_reqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion transcribe_anything/whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit c9e5521

Please sign in to comment.