In a recent whisper change. The write_srt function gets removed. Instead, they added a new WriteSRT class that writes srt file directly from the transcribed results.
Change
Instead of calling write_srt directly, call the WriteSRT.
Tested with these two lines changed on Google Colab.
In a recent whisper change. The
write_srt
function gets removed. Instead, they added a newWriteSRT
class that writes srt file directly from the transcribed results.Change
WriteSRT
.Tested with these two lines changed on Google Colab.