Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gautam-Rajeev authored Jun 18, 2024
1 parent 91bb671 commit bdb71a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asr/whisper_en/local/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __new__(cls, context):
device = "cuda:0" if torch.cuda.is_available() else "cpu"
cls.pipe = pipeline(
"automatic-speech-recognition",
model="openai/whisper-small.en",
model="openai/whisper-base.en",
chunk_length_s=10,
device=device,
)
Expand Down

0 comments on commit bdb71a2

Please sign in to comment.