mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-14 14:41:56 +00:00
8027fdf1c7
* feat(transformers): merge musicgen functionalities to a single backend So we optimize space Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * specify type in tests Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * Some adaptations for the MusicgenForConditionalGeneration type Signed-off-by: Ettore Di Giacinto <mudler@localai.io> --------- Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
24 lines
310 B
Plaintext
24 lines
310 B
Plaintext
meta {
|
|
name: musicgen
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{PROTOCOL}}{{HOST}}:{{PORT}}/tts
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/json
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"backend": "transformers",
|
|
"model": "facebook/musicgen-small",
|
|
"input": "80s Synths playing Jazz"
|
|
}
|
|
}
|