Update app.py
Browse files
app.py
CHANGED
|
@@ -1173,14 +1173,15 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1173 |
# Guidance (CFG): 7.0 – 8.0 → ideal: 7.5
|
| 1174 |
# Steps: 30 – 34 → ideal: 32
|
| 1175 |
keep_environment = True
|
| 1176 |
-
|
|
|
|
| 1177 |
|
| 1178 |
# Controlnet-zurückhaltend
|
| 1179 |
-
controlnet_strength =
|
| 1180 |
|
| 1181 |
# HIER FEHLEN DIE RATIOS - Controlnet gesteuertes Inpainting:
|
| 1182 |
depth_ratio = 0.55 # Für Gesicht: Depth stärker
|
| 1183 |
-
canny_ratio = 0.
|
| 1184 |
|
| 1185 |
# KRITISCH: conditioning_scale HIER definieren (wie bei environment_change)!
|
| 1186 |
conditioning_scale = [
|
|
|
|
| 1173 |
# Guidance (CFG): 7.0 – 8.0 → ideal: 7.5
|
| 1174 |
# Steps: 30 – 34 → ideal: 32
|
| 1175 |
keep_environment = True
|
| 1176 |
+
|
| 1177 |
+
adj_strength = 0.6 #Struktur
|
| 1178 |
|
| 1179 |
# Controlnet-zurückhaltend
|
| 1180 |
+
controlnet_strength = 0.3
|
| 1181 |
|
| 1182 |
# HIER FEHLEN DIE RATIOS - Controlnet gesteuertes Inpainting:
|
| 1183 |
depth_ratio = 0.55 # Für Gesicht: Depth stärker
|
| 1184 |
+
canny_ratio = 0.10 # Canny leichter hält an Kanten fest
|
| 1185 |
|
| 1186 |
# KRITISCH: conditioning_scale HIER definieren (wie bei environment_change)!
|
| 1187 |
conditioning_scale = [
|