Skip to content

Commit

Permalink
Merge pull request #310 from jhj0517/feature/add-trubo
Browse files Browse the repository at this point in the history
Update available models
  • Loading branch information
jhj0517 authored Oct 2, 2024
2 parents 8295934 + 7d4cc15 commit fd091ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*.png
*.mp4
*.mp3
.idea/
.pytest_cache/
venv/
modules/ui/__pycache__/
outputs/
Expand Down
2 changes: 1 addition & 1 deletion modules/whisper/faster_whisper_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def get_model_paths(self):
----------
Name list of models
"""
model_paths = {model:model for model in whisper.available_models()}
model_paths = {model:model for model in faster_whisper.available_models()}
faster_whisper_prefix = "models--Systran--faster-whisper-"

existing_models = os.listdir(self.model_dir)
Expand Down

0 comments on commit fd091ff

Please sign in to comment.