sandrohanea / whisper.net

Whisper.net. Speech to text made simple using Whisper Models
MIT License
512 stars 78 forks source link

Controlling the length of the generated text segments #82

Closed HillCat closed 1 year ago

HillCat commented 1 year ago

Please ignore this post.

sandrohanea commented 1 year ago

In case someone else needs this and will find this issue by searching, you can archive this (controlling the length of the generated text segments) using:

        .WithTokenTimestamps()
        .WithMaxSegmentLength(15)