Vaibhavs10 / insanely-fast-whisper

Apache License 2.0
7.76k stars 547 forks source link

Is there a way to cap the max length of the transcription? #194

Open wtlow003 opened 8 months ago

wtlow003 commented 8 months ago

I am looking to cap the max length of the transcription to 47 characters per line generated via insanely-fast-whisper. Is there a setting for generate_kwargs or others, that allow to make sure that for each line of transcription, the maximum characters should only be 47