LocalAI/pkg/tts/generate.go
mudler a55516956b feat: add tts with go-piper
Signed-off-by: mudler <mudler@localai.io>
2023-06-22 09:15:51 +02:00

12 lines
211 B
Go

//go:build tts
// +build tts
package tts
import (
piper "github.com/mudler/go-piper"
)
func tts(text, model, assetDir, arLib, dst string) error {
return piper.TextToWav(text, model, assetDir, arLib, dst)
}