Skip to content

Commit

Permalink
chore: alias transformers-musicgen to transformers (#4623)
Browse files Browse the repository at this point in the history
chore: alias transformers-muscigen to transformers

Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler authored Jan 17, 2025
1 parent 96f8ec0 commit a761e01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/model/initializers.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var Aliases map[string]string = map[string]string{
"llama": LLamaCPP,
"embedded-store": LocalStoreBackend,
"langchain-huggingface": LCHuggingFaceBackend,
"transformers-musicgen": TransformersBackend,
}

var AutoDetect = os.Getenv("DISABLE_AUTODETECT") != "true"
Expand All @@ -51,7 +52,8 @@ const (
PiperBackend = "piper"
LCHuggingFaceBackend = "huggingface"

LocalStoreBackend = "local-store"
TransformersBackend = "transformers"
LocalStoreBackend = "local-store"
)

func backendPath(assetDir, backend string) string {
Expand Down

0 comments on commit a761e01

Please sign in to comment.