radames commited on
Commit
975f0f0
1 Parent(s): ad0e260
Files changed (1) hide show
  1. index.html +4 -4
index.html CHANGED
@@ -96,12 +96,12 @@
96
  this.totalPages = data.totalPages;
97
  },
98
  async getModels(page, sort, style) {
99
- const res = await fetch(
100
- `http://localhost:7860/api/models?page=${page}&sort=${sort}&style=${style}`
101
- );
102
  // const res = await fetch(
103
- // `https://huggingface-projects-diffusers-gallery-bot.hf.space/api/models?page=${page}&sort=${sort}&style=${style}`
104
  // );
 
 
 
105
  const data = await res.json();
106
  const models = data.models.map((model) => ({
107
  id: model.id,
 
96
  this.totalPages = data.totalPages;
97
  },
98
  async getModels(page, sort, style) {
 
 
 
99
  // const res = await fetch(
100
+ // `http://localhost:7860/api/models?page=${page}&sort=${sort}&style=${style}`
101
  // );
102
+ const res = await fetch(
103
+ `https://huggingface-projects-diffusers-gallery-bot.hf.space/api/models?page=${page}&sort=${sort}&style=${style}`
104
+ );
105
  const data = await res.json();
106
  const models = data.models.map((model) => ({
107
  id: model.id,