Spaces:
Runtime error
Runtime error
Jannik Rößler commited on
Commit ·
835e1fb
1
Parent(s): 689d1b4
Update space
Browse files- app.py +1 -1
- flux_loras.json +9 -0
app.py
CHANGED
|
@@ -208,7 +208,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(font=[gr.themes.GoogleFont("Lexend
|
|
| 208 |
gr_flux_loras = gr.State(value=flux_loras_raw)
|
| 209 |
|
| 210 |
title = gr.HTML(
|
| 211 |
-
"""<h1><img src="https://huggingface.co/jroessler/flux-kontext-segmentation-sweatshirt/resolve/main/t-shirt-emoji.png" alt="LoRA"> FLUX.1 Kontext
|
| 212 |
elem_id="title",
|
| 213 |
)
|
| 214 |
|
|
|
|
| 208 |
gr_flux_loras = gr.State(value=flux_loras_raw)
|
| 209 |
|
| 210 |
title = gr.HTML(
|
| 211 |
+
"""<h1><img src="https://huggingface.co/jroessler/flux-kontext-segmentation-sweatshirt/resolve/main/t-shirt-emoji.png" alt="LoRA"> FLUX.1 Kontext for Segmentation</h1>""",
|
| 212 |
elem_id="title",
|
| 213 |
)
|
| 214 |
|
flux_loras.json
CHANGED
|
@@ -24,5 +24,14 @@
|
|
| 24 |
"prompt": "put a green mask for glasses on the person",
|
| 25 |
"lora_type": "kontext",
|
| 26 |
"lora_scale": 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
]
|
|
|
|
| 24 |
"prompt": "put a green mask for glasses on the person",
|
| 25 |
"lora_type": "kontext",
|
| 26 |
"lora_scale": 1.0
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"image": "https://huggingface.co/jroessler/flux-kontext-segmentation-hat/resolve/main/hats-01-1.png",
|
| 30 |
+
"title": "Hats-LoRA",
|
| 31 |
+
"repo": "jroessler/flux-kontext-segmentation-hat",
|
| 32 |
+
"weights": "hats-mask_1000.safetensors",
|
| 33 |
+
"prompt": "put a green mask for a hat on the person",
|
| 34 |
+
"lora_type": "kontext",
|
| 35 |
+
"lora_scale": 1.0
|
| 36 |
}
|
| 37 |
]
|