Skip to content

Commit

Permalink
#158 added more compatible modules (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
RayanMarmar authored May 15, 2024
1 parent 43f65fd commit 7dcc9c7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/huggingface/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@ package huggingface
var AllTags = []PipelineTag{
TextGeneration,
TextToImage,
TextToVideo,
TextToAudio,
TextTo3d,
ImageToText,
ImageToImage,
}

type PipelineTag string

const (
TextGeneration PipelineTag = "text-generation"
TextToImage PipelineTag = "text-to-image"
TextToVideo PipelineTag = "text-to-video"
TextTo3d PipelineTag = "text-to-3d"
TextToAudio PipelineTag = "text-to-audio"
ImageToText PipelineTag = "image-to-text"
ImageToImage PipelineTag = "image-to-image"
)

// AllTagsString returns all tags as a string slice
Expand Down

0 comments on commit 7dcc9c7

Please sign in to comment.