mishig HF staff commited on
Commit
d434977
1 Parent(s): e15701a

Fix loaded models URL (#13)

Browse files
Files changed (1) hide show
  1. src/routes/+page.svelte +1 -1
src/routes/+page.svelte CHANGED
@@ -44,7 +44,7 @@
44
  (async () => {
45
  // TODO: use hfjs.hub listModels after https://github.com/huggingface/huggingface.js/pull/795
46
  const res = await fetch(
47
- 'https://huggingface.co/api/models?pipeline_tag=text-generation&inferenceStatus=loaded&filter=conversational'
48
  );
49
  compatibleModels = (await res.json()) as ModelEntry[];
50
  compatibleModels.sort((a, b) => a.id.toLowerCase().localeCompare(b.id.toLowerCase()));
 
44
  (async () => {
45
  // TODO: use hfjs.hub listModels after https://github.com/huggingface/huggingface.js/pull/795
46
  const res = await fetch(
47
+ 'https://huggingface.co/api/models?pipeline_tag=text-generation&inference=Warm&other=conversational'
48
  );
49
  compatibleModels = (await res.json()) as ModelEntry[];
50
  compatibleModels.sort((a, b) => a.id.toLowerCase().localeCompare(b.id.toLowerCase()));