- Grab piper_windows_amd64.zip from rhasspy/piper and extract (tested with rhasspy/piper release 2023.11.14-2)
- Put app_simple.py in the same folder as piper.exe (extracted in step 1)
- Create a 'piper_models' folder in the same
- Place your .onnx piper TTS voice file and .onnx.json file inside 'piper_models'
- Make sure your .onnx.json file has the same name as your .onnx voice file (.onnx.json file is REQUIRED)
- Edit 'REPLACE_MODEL_HERE.onnx' in app_simple.py with your .onnx piper TTS voice file's exact name
- Run app_simple.py
For Open WebUI:
- Use http://localhost:5002/v1 as the API Base URL
- Place anything in the API Key (API Key cannot be blank)
- Place anything in TTS Voice
- Place anything in TTS Model
Tested working with Open WebUI v0.3.32
Possible todo: sysarg for .onnx voice file error checking validation