@@ -30,6 +30,7 @@ import tokenClassification from "./token-classification/data.js";
30
30
import translation from "./translation/data.js" ;
31
31
import textClassification from "./text-classification/data.js" ;
32
32
import textGeneration from "./text-generation/data.js" ;
33
+ import textRanking from "./text-ranking/data.js" ;
33
34
import textToVideo from "./text-to-video/data.js" ;
34
35
import unconditionalImageGeneration from "./unconditional-image-generation/data.js" ;
35
36
import videoClassification from "./video-classification/data.js" ;
@@ -233,7 +234,7 @@ export const TASKS_DATA: Record<PipelineType, TaskData | undefined> = {
233
234
"tabular-to-text" : undefined ,
234
235
"text-classification" : getData ( "text-classification" , textClassification ) ,
235
236
"text-generation" : getData ( "text-generation" , textGeneration ) ,
236
- "text-ranking" : getData ( "text-ranking" , placeholder ) ,
237
+ "text-ranking" : getData ( "text-ranking" , textRanking ) ,
237
238
"text-retrieval" : undefined ,
238
239
"text-to-image" : getData ( "text-to-image" , textToImage ) ,
239
240
"text-to-speech" : getData ( "text-to-speech" , textToSpeech ) ,
0 commit comments