← 开源
xenova

whisper-web

ML-powered speech recognition directly in your browser

ApplicationsPersonalTypeScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
3.35k
Star
431
Fork
+1
本周
3
贡献者
创建于 2023-03-17 · 更新于 2026-10-03 · 今日第 7917 名
主要开发者
README

Whisper Web

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!

https://github.com/xenova/whisper-web/assets/26504141/fb170d84-9678-41b5-9248-a112ecc74c27

Running locally

  1. Clone the repo and install dependencies:

    git clone https://github.com/xenova/whisper-web.git
    cd whisper-web
    npm install
    
  2. Run the development server:

    npm run dev
    

    Firefox users need to change the dom.workers.modules.enabled setting in about:config to true to enable Web Workers. Check out this issue for more details.

  3. Open the link (e.g., http://localhost:5173/) in your browser.