Skip to content

Commit

Permalink
batch size 8
Browse files Browse the repository at this point in the history
  • Loading branch information
boocmp committed Aug 15, 2024
1 parent eeefb13 commit c4e81fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runners/audio_transcriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def __init__(self):
)

def transcribe(self, audios):
result = self.model.transcribe(audios, batch_size=16, language="en")
result = self.model.transcribe(audios, batch_size=8, language="en")
return result["segments"]

@bentoml.Runnable.method(batchable=True)
Expand Down

0 comments on commit c4e81fd

Please sign in to comment.