new
Browse files95 unmodified lines9697989910010110210310410510610795 unmodified linesthis.totalPages = data.totalPages;},async getModels(page, sort, style) {const res = await fetch(`http://localhost:7860/api/models?page=${page}&sort=${sort}&style=${style}`);// const res = await fetch(// `https://huggingface-projects-diffusers-gallery-bot.hf.space/api/models?page=${page}&sort=${sort}&style=${style}`// );const data = await res.json();const models = data.models.map((model) => ({id: model.id,95 unmodified lines9697989910010110210310410510610795 unmodified linesthis.totalPages = data.totalPages;},async getModels(page, sort, style) {// const res = await fetch(// `http://localhost:7860/api/models?page=${page}&sort=${sort}&style=${style}`// );const res = await fetch(`https://huggingface-projects-diffusers-gallery-bot.hf.space/api/models?page=${page}&sort=${sort}&style=${style}`);const data = await res.json();const models = data.models.map((model) => ({id: model.id,
index.html+4-4