Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
botbahlul authored May 30, 2023
1 parent 53a3912 commit 5e291fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win/whisper_autosrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from faster_whisper import WhisperModel


VERSION = "0.0.4"
VERSION = "0.0.5"

whisper_models = [
"tiny.en",
Expand Down Expand Up @@ -1685,7 +1685,7 @@ def main():
total_duration = reader.getnframes() / rate
reader.close()

segments, info = model.transcribe(wav_filepath, beam_size=5, language=src_language)
segments, info = model.transcribe(wav_filepath, beam_size=5, language=src_language, task=task)

widgets = ["Performing speech recognition : ", Percentage(), ' ', Bar(marker='#'), ' ', ETA()]
pbar = ProgressBar(widgets=widgets, maxval=100).start()
Expand Down

0 comments on commit 5e291fe

Please sign in to comment.