ML-powered speech recognition directly in your browser! Built with 🤗 Transformers.js.
Check out the demo site here.
Important
Experimental WebGPU support has been added to this branch (demo), if you'd like to run with GPU acceleration!
whisper-web-demo.mp4
-
Clone the repo and install dependencies:
git clone https://github.com/xenova/whisper-web.git cd whisper-web npm install
-
Run the development server:
npm run dev
Firefox users need to change the
dom.workers.modules.enabled
setting inabout:config
totrue
to enable Web Workers. Check out this issue for more details. -
Open the link (e.g., http://localhost:5173/) in your browser.