mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-22 14:02:24 +00:00
a7bb029d23
Signed-off-by: mudler <mudler@localai.io>
13 lines
211 B
Go
13 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)
|
|
}
|