Update app.py
Browse files
app.py
CHANGED
|
@@ -1165,11 +1165,11 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1165 |
#canny_ratio = 0.25 + (ui_strength * 0.15)
|
| 1166 |
|
| 1167 |
adj_strength = ui_strength
|
| 1168 |
-
controlnet_strength = 0.
|
| 1169 |
-
pose_ratio = 0.
|
| 1170 |
-
canny_ratio = 0.
|
| 1171 |
|
| 1172 |
-
conditioning_scale = [0.
|
| 1173 |
|
| 1174 |
# 2. Werte auf sinnvolle Bereiche begrenzen (Clipping)
|
| 1175 |
#adj_strength = max(0.1, min(adj_strength, 0.8))
|
|
|
|
| 1165 |
#canny_ratio = 0.25 + (ui_strength * 0.15)
|
| 1166 |
|
| 1167 |
adj_strength = ui_strength
|
| 1168 |
+
controlnet_strength = 0.26
|
| 1169 |
+
pose_ratio = 0.665
|
| 1170 |
+
canny_ratio = 0.335
|
| 1171 |
|
| 1172 |
+
conditioning_scale = [0.173, 0.087]
|
| 1173 |
|
| 1174 |
# 2. Werte auf sinnvolle Bereiche begrenzen (Clipping)
|
| 1175 |
#adj_strength = max(0.1, min(adj_strength, 0.8))
|