mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
fix: bark-cpp: assign FLAG_TTS to bark-cpp backend (#5186)
Signed-off-by: Gianluca Boiano <morf3089@gmail.com>
This commit is contained in:
parent
297d54acea
commit
f67e5dec68
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ func (c *BackendConfig) GuessUsecases(u BackendConfigUsecases) bool {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (u & FLAG_TTS) == FLAG_TTS {
|
if (u & FLAG_TTS) == FLAG_TTS {
|
||||||
ttsBackends := []string{"piper", "transformers-musicgen", "parler-tts"}
|
ttsBackends := []string{"bark-cpp", "parler-tts", "piper", "transformers-musicgen"}
|
||||||
if !slices.Contains(ttsBackends, c.Backend) {
|
if !slices.Contains(ttsBackends, c.Backend) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue