A user interface to make the use of whisper very easy.
WhisperUI returns .srt files (i.e. time-stamped translation / transcription).
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
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
Run uv add <package-name>
to install a package. For example:
uv add requests
If you are using visual studio code install the recommended extensions
A basic docker image is already provided, run:
docker compose up --build watch
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
- uv
- pre-commit (optional)