chenxwh / cog-whisper

MIT License
81 stars 28 forks source link

Can you please add a Language parameter? #7

Open cb109 opened 2 years ago

cb109 commented 2 years ago

If I already know which language the audio file uses, there's no need to waste time trying to detect it. whisper supports a --language <lang> parameter for that, it would be great to have that option on the replicate API as well. Cheers

chenxwh commented 2 years ago

Hey I have added most of the args Whisper accepts, the demo and the API will be updated accordingly, thanks for the suggestion!