From f62f995c1d7ff43733b718115dce5caf547d6032 Mon Sep 17 00:00:00 2001 From: albe873 <93786475+albe873@users.noreply.github.com> Date: Fri, 13 Dec 2024 23:23:07 +0100 Subject: [PATCH] README update --- README.md | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 45308d7..1f00e6d 100644 --- a/README.md +++ b/README.md @@ -2,28 +2,16 @@ A docker image and a few lines of python to use OpenAI whisper with Rhasspy and/or Home Assistant on AMD GPUs with ROCm. +## Build Docker image + +Build docker image: + +```shell +docker build -t gpu-wyoming-whisper . +``` + ## Run with docker-compose ```shell docker-compose up -d ``` - -## Run with Docker - -Build docker image: - -```shell -docker build -t wyoming-whisper . -``` - -Run docker image: - -```shell -docker run --entrypoint '' -v $(pwd)/data:/data -v $(pwd)/src:/src -it --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --group-add video -p 10300:10300 wyoming-whisper bash -``` - -Run script: - -```shell -python -m wyoming_whisper --download-dir /data --model medium --debug -```