Spaces:
Runtime error
Runtime error
Load only conversational models
Browse files43 unmodified lines4445464748495043 unmodified lines(async () => {// TODO: use hfjs.hub listModels after https://github.com/huggingface/huggingface.js/pull/795const res = await fetch('https://huggingface.co/api/models?pipeline_tag=text-generation&inference=Warm&other=conversational');compatibleModels = (await res.json()) as ModelEntry[];compatibleModels.sort((a, b) => a.id.toLowerCase().localeCompare(b.id.toLowerCase()));43 unmodified lines4445464748495043 unmodified lines(async () => {// TODO: use hfjs.hub listModels after https://github.com/huggingface/huggingface.js/pull/795const res = await fetch('https://huggingface.co/api/models?pipeline_tag=text-generation&inference=Warm&filter=conversational');compatibleModels = (await res.json()) as ModelEntry[];compatibleModels.sort((a, b) => a.id.toLowerCase().localeCompare(b.id.toLowerCase()));
src/routes/+page.svelte+1-1