Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,61 +21,12 @@ pipe = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev
|
|
21 |
# Load LoRA data
|
22 |
flux_loras_raw = [
|
23 |
{
|
24 |
-
"image": "
|
25 |
-
"title": "
|
26 |
-
"repo": "
|
27 |
-
"trigger_word": "
|
28 |
-
"weights": "
|
29 |
-
"likes": 0
|
30 |
},
|
31 |
-
{
|
32 |
-
"image": "examples/2.png",
|
33 |
-
"title": "Winslow Homer",
|
34 |
-
"repo": "openfree/winslow-homer",
|
35 |
-
"trigger_word": "homer",
|
36 |
-
"weights": "pytorch_lora_weights.safetensors",
|
37 |
-
"likes": 0
|
38 |
-
},
|
39 |
-
{
|
40 |
-
"image": "examples/3.png",
|
41 |
-
"title": "Van Gogh",
|
42 |
-
"repo": "openfree/van-gogh",
|
43 |
-
"trigger_word": "gogh",
|
44 |
-
"weights": "pytorch_lora_weights.safetensors",
|
45 |
-
"likes": 0
|
46 |
-
},
|
47 |
-
{
|
48 |
-
"image": "examples/4.png",
|
49 |
-
"title": "Paul Cézanne",
|
50 |
-
"repo": "openfree/paul-cezanne",
|
51 |
-
"trigger_word": "Cezanne",
|
52 |
-
"weights": "pytorch_lora_weights.safetensors",
|
53 |
-
"likes": 0
|
54 |
-
},
|
55 |
-
{
|
56 |
-
"image": "examples/5.png",
|
57 |
-
"title": "Renoir",
|
58 |
-
"repo": "openfree/pierre-auguste-renoir",
|
59 |
-
"trigger_word": "Renoir",
|
60 |
-
"weights": "pytorch_lora_weights.safetensors",
|
61 |
-
"likes": 0
|
62 |
-
},
|
63 |
-
{
|
64 |
-
"image": "examples/6.png",
|
65 |
-
"title": "Claude Monet",
|
66 |
-
"repo": "openfree/claude-monet",
|
67 |
-
"trigger_word": "claude monet",
|
68 |
-
"weights": "pytorch_lora_weights.safetensors",
|
69 |
-
"likes": 0
|
70 |
-
},
|
71 |
-
{
|
72 |
-
"image": "examples/7.png",
|
73 |
-
"title": "Fantasy Art",
|
74 |
-
"repo": "openfree/myt-flux-fantasy",
|
75 |
-
"trigger_word": "fantasy",
|
76 |
-
"weights": "pytorch_lora_weights.safetensors",
|
77 |
-
"likes": 0
|
78 |
-
}
|
79 |
]
|
80 |
print(f"Loaded {len(flux_loras_raw)} LoRAs")
|
81 |
# Global variables for LoRA management
|
|
|
21 |
# Load LoRA data
|
22 |
flux_loras_raw = [
|
23 |
{
|
24 |
+
"image": "https://huggingface.co/fal/Realism-Detailer-Kontext-Dev-LoRA/resolve/main/outputs/1.png",
|
25 |
+
"title": "Realism Detailer Kontext",
|
26 |
+
"repo": "fal/Realism-Detailer-Kontext-Dev-LoRA",
|
27 |
+
"trigger_word": "Add details to this face, improve skin details",
|
28 |
+
"weights": "high_detail.safetensors"
|
|
|
29 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
]
|
31 |
print(f"Loaded {len(flux_loras_raw)} LoRAs")
|
32 |
# Global variables for LoRA management
|