Spaces:
Running
Running
missing sort param
Browse files- index.html +1 -1
index.html
CHANGED
@@ -117,7 +117,7 @@
|
|
117 |
},
|
118 |
getModels(page, sort) {
|
119 |
// return fetch(`http://localhost:8000/api/models?page=${page}&sort=${sort}`).then(
|
120 |
-
return fetch(`https://huggingface-projects-diffusers-gallery-bot.hf.space/api/models?page=${page}`).then(
|
121 |
(res) => res.json()
|
122 |
);
|
123 |
},
|
|
|
117 |
},
|
118 |
getModels(page, sort) {
|
119 |
// return fetch(`http://localhost:8000/api/models?page=${page}&sort=${sort}`).then(
|
120 |
+
return fetch(`https://huggingface-projects-diffusers-gallery-bot.hf.space/api/models?page=${page}&sort=${sort}`).then(
|
121 |
(res) => res.json()
|
122 |
);
|
123 |
},
|