mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-30 09:28:51 +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)
|
|
}
|