Build real time speech2text web apps using OpenAI's Whisper

Whisper Playground

Instantly build speech2text apps using OpenAI’s Whisper

Whisper.Playground.mp4

Setup

  1. Whisper requires the command-line tool ffmpeg to be installed on your system, which is available from most package managers:

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on Arch Linux
sudo pacman -S ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg

# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg
  1. Clone or fork this repository
  2. Install the backend and frontend environmet sh install_playground.sh
  3. Run the backend cd backend && source venv/bin/activate && flask run --port 8000
  4. In a different terminal, run the React frontend cd interface && yarn start

License

This repository and the code and model weights of Whisper are released under the MIT License.

GitHub

View Github