wfloat is the Python client for wfloat-tts, Wfloat's on-device text-to-speech
model.
Product context:
- Homepage: https://wfloat.com
- Docs: https://docs.wfloat.com
- Model card and samples: https://huggingface.co/Wfloat/wfloat-tts
- Web package: https://github.com/wfloat/wfloat-web
- React Native package: https://github.com/wfloat/react-native-wfloat
This repo should stay focused on the Python experience.
- Python 3.9+
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel build twineInstall wfloat:
python3 -m pip install -e .That also installs the matching wfloat-sherpa-onnx dependency.
rm -rf build dist
python3 -m buildThat produces:
dist/*.whldist/*.tar.gz
Unit tests do not require sherpa_onnx:
PYTHONPATH=python python3 -m unittest discover -s tests -vYou can also run a smoke check:
python3 -c "import sherpa_onnx, wfloat; print(wfloat.__version__)"CI:
- builds pure Python artifacts once
- installs those artifacts on each target platform
- relies on normal dependency resolution for
wfloat-sherpa-onnx - runs the unit test suite and an integration smoke test
- Keep docs short and user-facing.
- Describe this package as the Python way to run
wfloat-ttslocally. - If voices, emotions, or examples change, check the model card and docs first.