xenova / whisper-web

ML-powered speech recognition directly in your browser
https://hf.co/spaces/Xenova/whisper-web
MIT License
1.29k stars 152 forks source link

Is there an API? #36

Open TonySimonovsky opened 2 weeks ago

TonySimonovsky commented 2 weeks ago

Hi

I discovered your solution today and it is absolutely great! Kudos for that!

I'm curious, can I only use it on the page or there is a way to programmatically send audio and get transcription using some API?

Thanks, Tony

xenova commented 2 weeks ago

Hi there 👋 Thanks! This is a demo of the model running in-browser (locally), so this means there is no API, by design. However, this does not stop someone from implementing it inside a Next.js application that provides an API endpoint (for example).