Blair-Johnson / batch-whisper

Batch Support for OpenAI Whisper
MIT License
82 stars 21 forks source link

Enable prompt broadcasting / specification #3

Open Blair-Johnson opened 1 year ago

Blair-Johnson commented 1 year ago

Currently prompt specification of the form model.transcribe([audio1, audio2], prompt='prompt') is untested. Need to investigate and enable the following usage: model.transcribe([audio1, audio2], prompt=['prompt1', 'prompt2']), and model.transcribe([audio1, audio2], prompt='prompt') (where 'prompt' is used for all input files).

TODO

shaynemei commented 1 year ago

@Blair-Johnson Hi, this would be a great feature. Is this being worked on?

Blair-Johnson commented 1 year ago

@Blair-Johnson Hi, this would be a great feature. Is this being worked on?

Thanks for your interest! I currently don't have a timeline for implementing prompting, but it is on the to-do list for when I have more bandwidth to work on this.