Skip to content

Commit

Permalink
Add alias also for transformers-musicgen
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Jan 17, 2025
1 parent 2641622 commit 8ee1cfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/model/initializers.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var Aliases map[string]string = map[string]string{
}

var TypeAlias map[string]string = map[string]string{
"sentencetranformers": "SentenceTransformer",
"sentencetranformers": "SentenceTransformer",
"transformers-musicgen": "MusicgenForConditionalGeneration",
}

var AutoDetect = os.Getenv("DISABLE_AUTODETECT") != "true"
Expand Down

0 comments on commit 8ee1cfd

Please sign in to comment.