Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion js/src/lib/interfaces/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const MODALITIES = [
"nlp",
"audio",
"cv",
"rl",
"other",
] as const;

Expand All @@ -75,6 +76,7 @@ export const MODALITY_LABELS: Record<Modality, string> = {
nlp: "Natural Language Processing",
audio: "Audio",
cv: "Computer Vision",
rl: "Reinforcement Learning",
other: "Other",
};

Expand Down Expand Up @@ -104,8 +106,8 @@ export const PIPELINE_TAG_MODALITIES: Record<keyof typeof PipelineType, Modality
"image-to-text": "cv",
"image-to-image": "cv",
"unconditional-image-generation": "cv",
"reinforcement-learning": "rl",
"structured-data-classification": "other",
"reinforcement-learning": "other",
};

/*
Expand Down