Views
No views yet
| Plik | Opis |
|---|---|
bass_high.onnx | Model inference (ONNX) |
bass_high.onnx.json | Konfiguracja modelu |
epoch=3300-step=*.ckpt | Checkpoint PyTorch Lightning (do dalszego treningu) |
1# Instalacja
2pip install piper-tts
3
4# Synteza
5echo "Życie musi trwać." | piper \
6 --model bass_high.onnx \
7 --output_file output.wavbass_high.onnx i bass_high.onnx.json do katalogu modeli Piper w Home Assistant.1from piper import PiperVoice
2
3voice = PiperVoice.load("bass_high.onnx", config_path="bass_high.onnx.json")
4
5with open("output.wav", "wb") as f:
6 voice.synthesize("Witaj świecie!", f)