jianfch / stable-ts

Transcription, forced alignment, and audio indexing with OpenAI's Whisper
MIT License
1.59k stars 177 forks source link

Add tqdm to faster-whisper transcribe #207

Closed JorianWoltjer closed 1 year ago

JorianWoltjer commented 1 year ago

This simple change adds a tqdm progress bar to the load_faster_whisper() function just like in the regular transcribe function (reference).
From this comment, it is possible to iterate over the segments and update the progress bar with the number of seconds that have passed. This pull request adds that.