Pocket-TTS available to HA using Wyoming and Zeroconf

https://github.com/ikidd/pocket-tts-wyoming

Pocket-TTS seems to be a TTS server that returns audio much faster locally than Piper, so I built a container that enables it via Wyoming protocol and zeroconf to be available in Home Assistant.

There is the ability to use an audio snippet to clone a voice that would be used by pocket-TTS, I haven't enabled anything like that yet. PRs welcome.

41 points · 8 comments · view on lemmy.world

8 Comments

micha@23.social · 9 pts · 201d (1 reply)
[ removed ]
ikidd@lemmy.world · 3 pts · 201d

Thanks, I forgot to link that. I guess it's in the README in any case.

bobslaede@feddit.dk · 6 pts · 201d (1 reply)

English only at the moment. Too bad.

Good job on the Wyoming part of it!

ikidd@lemmy.world · 3 pts · 201d

Thanks. Yah, afaik pocket-tts hasn't built anything but English yet. It's pretty new.

wagesj45@fedia.io · 4 pts · 201d

Thanks. Deployed. Works great.

node815@lemmy.world · 3 pts · 201d (3 replies)

I can't pull the image:

docker run -d \
  --name pocket-tts-wyoming \
  -p 10201:10201 \
  -e DEFAULT_VOICE=alba \
  -v pocket-tts-hf-cache:/root/.cache/huggingface \
  -v pocket-tts-cache:/root/.cache/pocket_tts \
  pocket-tts-wyoming
Unable to find image 'pocket-tts-wyoming:latest' locally
docker: Error response from daemon: pull access denied for pocket-tts-wyoming, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

I am logged into Docker as well via docker login.
edit I cloned the repo via Git and was able to get it to build and run.

ikidd@lemmy.world · 1 pts · 201d (2 replies)

Good to hear you got it to build. The base project seems to move fast so I just set this up to require a local build which will pull the pocket-TTS current code in directly.

I guess I could post a GHCR image, but I've never done that. I just build my own images, it's pretty quick and then they're up to date.

node815@lemmy.world · 2 pts · 201d (1 reply)

For me personally, I'd rather pull from a GHCR image than build from the source, I think too, this would garner more users who don't want to or cant build it for one reason or another.

ikidd@lemmy.world · 1 pts · 200d

Fixed.