Giter Club home page Giter Club logo

whisper-gui's Introduction

Whisper-GUI

A simple GUI made with gradio to use Whisper.

whisper-gui-img

Requirements

Optionally, to use GPU on Windows:

Set up

  • In Windows, run the whisper-gui.bat file. In Linux / macOS run the whisper-gui.sh file. Follow the instructions and let the script install the necessary dependencies. After the process, it will run the GUI in a new browser tab.

Otherwise, manual steps are:

  • Create a conda environment with Python 3.10
    conda create --name whisperx python=3.10
    conda activate whisperx
  • Install PyTorch 2.0
    For macOS:
    conda install pytorch::pytorch==2.0.0 torchaudio==2.0.0 -c pytorch
    For other OS, if you have GPU:
    conda install pytorch==2.0.0 torchaudio==2.0.0 pytorch-cuda=11.8 -c pytorch -c nvidia
    If not, for CPU:
    conda install pytorch==2.0.0 torchaudio==2.0.0 cpuonly -c pytorch
  • Install whisperx and dependecies
    pip install git+https://github.com/m-bain/whisperx.git
    Original instructions in: https://github.com/m-bain/whisperX
  • Install additional libraries
    pip install gradio
  • Clone this repository
    git clone https://github.com/Pikurrot/whisper-gui

Run the GUI

To run the program every time, you can just run the same whisper-gui.bat or whisper-gui.sh (whatever your OS), which will also automatically check for updates of this repository.
Your transcriptions will be saved by default in the outputs folder of the repository.

Otherwise, to run manually:
conda activate whisperx
python main.py --autolaunch

Licensing

This project is primarily distributed under the terms of the MIT License. See the LICENSE file for details.

Third-Party Code
Portions of this project incorporate code from WhisperX, which is licensed under BSD-4-Clause license. This code is used in accordance with its license, and the full text of the license can be found within the relevant source files.

whisper-gui's People

Contributors

pikurrot avatar

Stargazers

El_Musso avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.