/Whisper-UI-TPU

A Whisper UI for Sophon TPU

Primary LanguagePythonApache License 2.0Apache-2.0

Whisper-WebUI For Sophgo Whisper

A Gradio-based browser interface for Whisper. You can use it as an Easy Subtitle Generator!

Powered by Whisper-WebUI

Whisper WebUI

Notebook

Feature

  • Generate subtitles from various sources, including :
    • Files
    • Youtube
    • Microphone
  • Currently supported subtitle formats :
    • SRT
    • WebVTT
    • txt ( only text file without timeline )
  • Speech to Text Translation
    • From other languages to English. ( This is Whisper's end-to-end speech-to-text translation feature )

Installation and Running

Prerequisite

To run this WebUI, you need to have git, python version 3.8 ~ 3.10, Sophon driver and FFmpeg.

Please follow the links below to install the necessary software:

After installing FFmpeg, make sure to add the FFmpeg/bin folder to your system PATH!

export PATH=$PATH:/opt/sophon/sophon-ffmpeg-latest/bin

Automatic Installation

If you have satisfied the prerequisites listed above, you are now ready to start Whisper-WebUI.

  1. Run install.sh
  2. Run start-webui.sh
  3. Open your web browser and go to http://localhost:7860

( If you're running another Web-UI, it will be hosted on a different port , such as localhost:7861, localhost:7862, and so on )