Spaces:
Paused
Paused
update app
Browse files
app.py
CHANGED
|
@@ -83,6 +83,14 @@ LORA_STYLES = [
|
|
| 83 |
"weights": None,
|
| 84 |
"default_prompt": None
|
| 85 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
{
|
| 87 |
"image": "https://huggingface.co/linoyts/Flux2-Klein-Delight-LoRA/resolve/main/image_3.png",
|
| 88 |
"title": "Klein-Delight-Style",
|
|
@@ -107,14 +115,6 @@ LORA_STYLES = [
|
|
| 107 |
"weights": "3D-GhosMannequinRank-256_000005000.safetensors",
|
| 108 |
"default_prompt": None
|
| 109 |
},
|
| 110 |
-
{
|
| 111 |
-
"image": "https://huggingface.co/spaces/prithivMLmods/FLUX.2-Klein-LoRA-Studio/resolve/main/examples/mc.png",
|
| 112 |
-
"title": "Klein-Consistency",
|
| 113 |
-
"adapter_name": "klein-consistency",
|
| 114 |
-
"repo": "dx8152/Flux2-Klein-9B-Consistency",
|
| 115 |
-
"weights": "Klein-consistency.safetensors",
|
| 116 |
-
"default_prompt": None
|
| 117 |
-
},
|
| 118 |
]
|
| 119 |
|
| 120 |
LOADED_ADAPTERS = set()
|
|
@@ -367,6 +367,11 @@ with gr.Blocks() as demo:
|
|
| 367 |
|
| 368 |
gr.Examples(
|
| 369 |
examples=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 370 |
[
|
| 371 |
["examples/2.jpg"],
|
| 372 |
"Relight the image to remove all existing lighting conditions and replace them with neutral, uniform illumination. Apply soft, evenly distributed lighting with no directional shadows, no harsh highlights, and no dramatic contrast. Maintain the original identity of all subjects exactly—preserve facial structure, skin tone, proportions, expressions, hair, clothing, and textures. Do not alter pose, camera angle, background geometry, or image composition. Lighting should appear balanced, and studio-neutral, similar to diffuse overcast or a soft lightbox setup. Ensure consistent exposure across the entire image with realistic depth and subtle shading only where necessary for form.",
|
|
|
|
| 83 |
"weights": None,
|
| 84 |
"default_prompt": None
|
| 85 |
},
|
| 86 |
+
{
|
| 87 |
+
"image": "https://huggingface.co/spaces/prithivMLmods/FLUX.2-Klein-LoRA-Studio/resolve/main/examples/Snow-Klein-consistency.png",
|
| 88 |
+
"title": "Klein-Consistency",
|
| 89 |
+
"adapter_name": "klein-consistency",
|
| 90 |
+
"repo": "dx8152/Flux2-Klein-9B-Consistency",
|
| 91 |
+
"weights": "Klein-consistency.safetensors",
|
| 92 |
+
"default_prompt": None
|
| 93 |
+
},
|
| 94 |
{
|
| 95 |
"image": "https://huggingface.co/linoyts/Flux2-Klein-Delight-LoRA/resolve/main/image_3.png",
|
| 96 |
"title": "Klein-Delight-Style",
|
|
|
|
| 115 |
"weights": "3D-GhosMannequinRank-256_000005000.safetensors",
|
| 116 |
"default_prompt": None
|
| 117 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
]
|
| 119 |
|
| 120 |
LOADED_ADAPTERS = set()
|
|
|
|
| 367 |
|
| 368 |
gr.Examples(
|
| 369 |
examples=[
|
| 370 |
+
[
|
| 371 |
+
["examples/C.jpg"],
|
| 372 |
+
"Change the climate to rainy.",
|
| 373 |
+
"Klein-Consistency"
|
| 374 |
+
],
|
| 375 |
[
|
| 376 |
["examples/2.jpg"],
|
| 377 |
"Relight the image to remove all existing lighting conditions and replace them with neutral, uniform illumination. Apply soft, evenly distributed lighting with no directional shadows, no harsh highlights, and no dramatic contrast. Maintain the original identity of all subjects exactly—preserve facial structure, skin tone, proportions, expressions, hair, clothing, and textures. Do not alter pose, camera angle, background geometry, or image composition. Lighting should appear balanced, and studio-neutral, similar to diffuse overcast or a soft lightbox setup. Ensure consistent exposure across the entire image with realistic depth and subtle shading only where necessary for form.",
|