Skip to content

Wyoming protocol server for the GLaDOS text to speech system from R2D2FISH

License

Notifications You must be signed in to change notification settings

JonahMMay/wyoming-glados

 
 

Repository files navigation

Wyoming GLaDOS

Wyoming protocol server for the GLaDOS text to speech system from R2D2FISH. It uses CUDA acceleration if supported.

The server part is an heavily stripped down version of wyoming-piper and the gladostts folder is a Git submodule of R2D2FISH's repo

TODOS:

  • Docker image
  • Automatic download of model files ✅ (please use download.py)
  • Readme steps for connecting this to homeassistant ✅
  • Code cleanup ✅
  • Speedup the tts engine for rtx gpus ? See here

How to run locally

git clone --recurse-submodules https://github.com/JonahMMay/wyoming-glados # You will probably get a git lfs error, this is fine
cd wyoming-glados
python3 -m venv .venv
source .venv/bin/activate
python3 download.py
pip install -r requirements.txt
python __main__.py --uri tcp://0.0.0.0:10201

Docker Image

docker cli (recommended)

docker run --restart unless-stopped -p 10201:10201 --runtime=nvidia docker.io/captnspdr/wyoming-glados:latest

docker-compose

git clone --recurse-submodules https://github.com/JonahMMay/wyoming-glados # You will probably get a git lfs error, this is fine
cd wyoming-glados/docker
docker compose up -d

Connecting to Home Assistant

Adding the TTS engine to Home Assistant

  1. Go to Settings -> Devices & Services
  2. Add Integration -> Wyoming Protocol
  3. Enter the IP and Port, click Submit
  4. Click Finish if it adds successfully

Modify the Voice Assist Pipeline to use the new engine

  1. Go to Settings -> Voice assistants
  2. Select the assistant/pipeline
  3. Under Text-to-speech select glados-tts

About

Wyoming protocol server for the GLaDOS text to speech system from R2D2FISH

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.8%
  • Dockerfile 4.4%
  • Shell 0.8%