Skip to content

NINAnor/whisperUI

Repository files navigation

Whisper UI

A user interface to make the use of whisper very easy.

WhisperUI returns .srt files (i.e. time-stamped translation / transcription).

Setup

Install uv: https://docs.astral.sh/uv/getting-started/installation/

uv sync --dev
uv run pre-commit install # optional

### Run
To execute the application run:

uv run streamlit run app.py


### Development
Just run `uv run streamlit run app.py` and you are good to go!

### Update from template
To update your project with the latest changes from the template, run:
```bash
uvx --with copier-template-extensions copier update --trust

You can keep your previous answers by using:

uvx --with copier-template-extensions copier update --trust --defaults

(Optional) pre-commit

pre-commit is a set of tools that help you ensure code quality. It runs every time you make a commit.

First, install dependencies:

uv sync --dev

Then install pre-commit hooks:

uv run pre-commit install

To run pre-commit on all files:

uv run pre-commit run --all-files

How to install a package

Run uv add <package-name> to install a package. For example:

uv add requests

Visual studio code

If you are using visual studio code install the recommended extensions

Development with docker

A basic docker image is already provided, run:

docker compose up --build watch

Docker usage

Create the docker image:

git clone https://github.com/NINAnor/whisperUI
docker build -t whisperui -f Dockerfile .

Run the application on localhost:

docker run --rm -p 8501:8501 whisperui

Tools installed

  • uv
  • pre-commit (optional)

About

A user interface making the use of whisper easy to use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •