Commit
•
84741a3
1
Parent(s):
c1039c9
fix
Browse files
src/app/server/actions/models.ts
CHANGED
@@ -22,23 +22,21 @@ export async function getSDXLModels(): Promise<SDXLModel[]> {
|
|
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-
|
28 |
-
"title": "sdxl-
|
29 |
-
"repo": "jbilcke-hf/sdxl-
|
30 |
-
"trigger_word": "
|
31 |
"weights": "pytorch_lora_weights.safetensors",
|
32 |
"is_compatible": true,
|
33 |
"likes": 0,
|
34 |
"downloads": 0
|
35 |
},
|
36 |
-
*/
|
37 |
{
|
38 |
-
"image": "https://jbilcke-hf-ai-clip-factory.hf.space/images/models/sdxl-
|
39 |
-
"title": "sdxl-
|
40 |
-
"repo": "jbilcke-hf/sdxl-
|
41 |
-
"trigger_word": "
|
42 |
"weights": "pytorch_lora_weights.safetensors",
|
43 |
"is_compatible": true,
|
44 |
"likes": 0,
|
|
|
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-cyberpunk-2077.jpg",
|
27 |
+
"title": "sdxl-cyberpunk-2077",
|
28 |
+
"repo": "jbilcke-hf/sdxl-cyberpunk-2077",
|
29 |
+
"trigger_word": "cyberpunk-2077",
|
30 |
"weights": "pytorch_lora_weights.safetensors",
|
31 |
"is_compatible": true,
|
32 |
"likes": 0,
|
33 |
"downloads": 0
|
34 |
},
|
|
|
35 |
{
|
36 |
+
"image": "https://jbilcke-hf-ai-clip-factory.hf.space/images/models/sdxl-modern-pixar.jpg",
|
37 |
+
"title": "sdxl-pixar-2",
|
38 |
+
"repo": "jbilcke-hf/sdxl-pixar-2",
|
39 |
+
"trigger_word": "pixar-2",
|
40 |
"weights": "pytorch_lora_weights.safetensors",
|
41 |
"is_compatible": true,
|
42 |
"likes": 0,
|