Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
limit
Browse files
src/routes/api/scrap-models/+server.ts
CHANGED
@@ -13,7 +13,7 @@ export async function POST({ request }) {
|
|
13 |
}, { status: 401 });
|
14 |
}
|
15 |
|
16 |
-
const response = await fetch(`https://huggingface.co/api/models?limit=
|
17 |
const responseData = await response.json();
|
18 |
|
19 |
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
|
13 |
}, { status: 401 });
|
14 |
}
|
15 |
|
16 |
+
const response = await fetch(`https://huggingface.co/api/models?limit=5000&filter=lora%2Cdiffusers&sort=createdAt&full=true&config=true`)
|
17 |
const responseData = await response.json();
|
18 |
|
19 |
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|