mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-17 06:28:07 +00:00
fix(vall-e-x): Fix voice cloning (#1696)
This commit is contained in:
committed by
GitHub
parent
58cdf97361
commit
fd68bf7084
@ -144,15 +144,15 @@ parameters:
|
||||
model: "cloned-voice"
|
||||
vall-e:
|
||||
# The path to the audio file to be cloned
|
||||
# relative to the models directory
|
||||
audio_path: "path-to-wav-source.wav"
|
||||
# relative to the models directory
|
||||
# Max 15s
|
||||
audio_path: "audio-sample.wav"
|
||||
```
|
||||
|
||||
Then you can specify the model name in the requests:
|
||||
|
||||
```
|
||||
curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{
|
||||
"backend": "vall-e-x",
|
||||
"model": "cloned-voice",
|
||||
"input":"Hello!"
|
||||
}' | aplay
|
||||
|
Reference in New Issue
Block a user