Commit
•
ea542e8
1
Parent(s):
1cf03f7
fix error with non-released mdoels
Browse files
src/app/server/actions/models.ts
CHANGED
@@ -22,6 +22,7 @@ export async function getSDXLModels(): Promise<SDXLModel[]> {
|
|
22 |
const compatibleModels = content.filter(model => model.is_compatible)
|
23 |
|
24 |
const hardcoded: SDXLModel[] = [
|
|
|
25 |
{
|
26 |
"image": "https://jbilcke-hf-ai-clip-factory.hf.space/images/models/sdxl-starfield.jpg",
|
27 |
"title": "sdxl-starfield",
|
@@ -42,6 +43,7 @@ export async function getSDXLModels(): Promise<SDXLModel[]> {
|
|
42 |
"likes": 0,
|
43 |
"downloads": 0
|
44 |
},
|
|
|
45 |
{
|
46 |
"image": "https://jbilcke-hf-ai-clip-factory.hf.space/images/models/sdxl-cyberpunk-2077.jpg",
|
47 |
"title": "sdxl-cyberpunk-2077",
|
|
|
22 |
const compatibleModels = content.filter(model => model.is_compatible)
|
23 |
|
24 |
const hardcoded: SDXLModel[] = [
|
25 |
+
/*
|
26 |
{
|
27 |
"image": "https://jbilcke-hf-ai-clip-factory.hf.space/images/models/sdxl-starfield.jpg",
|
28 |
"title": "sdxl-starfield",
|
|
|
43 |
"likes": 0,
|
44 |
"downloads": 0
|
45 |
},
|
46 |
+
*/
|
47 |
{
|
48 |
"image": "https://jbilcke-hf-ai-clip-factory.hf.space/images/models/sdxl-cyberpunk-2077.jpg",
|
49 |
"title": "sdxl-cyberpunk-2077",
|