add services wyoming-faster-whisper, wyoming-piper

This commit is contained in:
2024-06-04 10:17:52 +01:00
parent fe80588c07
commit 8d5edf2bc3
9 changed files with 53 additions and 23 deletions

View File

@@ -5,6 +5,18 @@ Welcome to homesrv01.dev.lan git page.
## OS
Currently hosted on a proxmox ubuntu container.
``` bash
# cat /etc/pve/lxc/105.conf
arch: amd64
cores: 2
features: fuse=1,keyctl=1,nesting=1
hostname: homesrv01
memory: 2000
onboot: 1
ostype: ubuntu
swap: 4000
rootfs: local-lvm:vm-105-disk-0,size=32G
unprivileged: 1
```bash
# lsb_release -a
@@ -173,5 +185,23 @@ git glone ssh://git@git.limbosolutions.com:2222/marcio.fernandes/mosquitto.git .
```
## wyoming-faster-whisper
https://github.com/home-assistant/addons/blob/master/whisper/DOCS.md
#### Setup & Update
``` bash
services/wyoming-faster-whisper/docker-run.sh
```
## wyoming-piper
#### Setup & Update
``` bash
services/wyoming-piper/docker-run.sh
```

View File

@@ -1,20 +0,0 @@
# homesrv01.dev.lan
- CT Container - Ubuntu ubuntu-22.10-standard_22.10-1_amd64.tar.zst
## Params
``` bash
# cat /etc/pve/lxc/105.conf
arch: amd64
cores: 2
features: fuse=1,keyctl=1,nesting=1
hostname: homesrv01
memory: 2000
onboot: 1
ostype: ubuntu
swap: 4000
rootfs: local-lvm:vm-105-disk-0,size=32G
unprivileged: 1
``

View File

@@ -8,6 +8,8 @@ doWork(){
$scriptPath/../services/telegraf/docker-run.sh
$scriptPath/../services/code-server/docker-run.sh
$scriptPath/../services/nginx/docker-run.sh
$scriptPath/../services/wyoming-faster-whisper/docker-run.sh
$scriptPath/../services/wyoming-piper/docker-run.sh
docker image prune -f
}
doWork 2>&1 | logger -s -t "auto-update"

View File

@@ -4,7 +4,6 @@
## Environment variables can be used as tags, and throughout the config file
# user = "$USER"
[agent]
hostname = "homesrv01"

View File

@@ -1,6 +1,5 @@
#! /bin/bash
# must be executed from repo/docker/telegraf
# does not work using compose on portainer even if using external volume hostfs
docker pull telegraf
docker container stop telegraf
docker container remove telegraf

View File

@@ -0,0 +1 @@
volumes/data/

View File

@@ -0,0 +1,10 @@
docker pull rhasspy/wyoming-whisper
docker stop wyoming-faster-whisper
docker rm wyoming-faster-whisper
scriptPath="$(dirname "$(readlink -f "$0")")"
docker run -dt -p 10300:10300 \
--name wyoming-faster-whisper \
-v ${scriptPath}//volumes/data:/data rhasspy/wyoming-whisper \
--model tiny-int8 --language en

1
services/wyoming-piper/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
volumes/data/

View File

@@ -0,0 +1,8 @@
docker pull rhasspy/wyoming-piper
docker stop wyoming-piper
docker rm wyoming-piper
scriptPath="$(dirname "$(readlink -f "$0")")"
docker run -dt --name wyoming-piper -p 10200:10200 -v ${scriptPath}/volumes/data:/data rhasspy/wyoming-piper \
--voice en_US-lessac-medium