Fix loaded models URL (#13)
Browse files- 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&
|
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()));
|