Wyoming Server for Kokoro Torch
Project description
Wyoming Kokoro Torch
Wyoming protocol server for the original Kokoro Torch TTS implementation.
Contrary to other Wyoming implementation, wyoming-kokoro, this is one uses Torch instead of ONNX.
As of the time of writing, our implementation also supports streaming mode, while the ONNX one doesn't. Streaming is important for LLM-based assistant,
so that it can start speaking before the LLM is finished generating.
Local Install
Clone the repository and set up Python virtual environment:
git clone https://github.com/debackerl/wyoming-kokoro-torch.cpp.git
cd wyoming-kokoro-torch
script/setup
Download the base model:
mkdir /data
wget -O /data/kokoro-v1_0.pth https://huggingface.co/hexgrad/Kokoro-82M/resolve/main/kokoro-v1_0.pth
wget -O /data/config.json https://huggingface.co/hexgrad/Kokoro-82M/resolve/main/config.json
Run a server anyone can connect to:
script/run --voice af_heart --streaming --uri 'tcp://0.0.0.0:10300' --data-dir /data --download-dir /data
See available voices.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wyoming_kokoro_torch-3.0.0.post1.tar.gz.
File metadata
- Download URL: wyoming_kokoro_torch-3.0.0.post1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c14c9d77bd7ab2c308778e57925fcadf556ce814e0241b15dd3c392406523556
|
|
| MD5 |
1dcc1f135977acaded4bf43a5efc73dd
|
|
| BLAKE2b-256 |
9149c39ca7c4c4000842806984e10de12f03c1ccd19daf80626d4b15680f5cba
|
File details
Details for the file wyoming_kokoro_torch-3.0.0.post1-py3-none-any.whl.
File metadata
- Download URL: wyoming_kokoro_torch-3.0.0.post1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be2e7e761bbc2982d53ee16ac9e3b11760a49d02be873b4fb38e3140145bce09
|
|
| MD5 |
e2928d5c5ab45a1b96d5485bca4e7a57
|
|
| BLAKE2b-256 |
474bc0dd95529a0b18ff88509761f0b1508e3de2f25fa743eeaa866e732584cf
|