Update app.py
Browse files
app.py
CHANGED
|
@@ -1069,7 +1069,7 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1069 |
if any(keyword in prompt_lower for keyword in humanoid_keywords):
|
| 1070 |
adj_strength = min(0.65, strength) # wie stark entrauscht wird. Wenn Bereiche transparent oft nicht genug entrauscht.
|
| 1071 |
controlnet_strength = 0.5 # controlnet_strength runter: Reduziert global und gleichmäßig den Einfluss beider Maps. Man kann auch beide Maps einzeln heruntersetzen. Ist das Gleiche!
|
| 1072 |
-
pose_ratio = 0.
|
| 1073 |
canny_ratio = 0.00 # wenn Pose gehalten und mehr Detailveränderung -empfohlen 0.85/0.15
|
| 1074 |
print("👤 Humanoid → Humanoid → Ratio 85:15 (Pose:Canny)")
|
| 1075 |
|
|
|
|
| 1069 |
if any(keyword in prompt_lower for keyword in humanoid_keywords):
|
| 1070 |
adj_strength = min(0.65, strength) # wie stark entrauscht wird. Wenn Bereiche transparent oft nicht genug entrauscht.
|
| 1071 |
controlnet_strength = 0.5 # controlnet_strength runter: Reduziert global und gleichmäßig den Einfluss beider Maps. Man kann auch beide Maps einzeln heruntersetzen. Ist das Gleiche!
|
| 1072 |
+
pose_ratio = 0.60 # 95%Pose, 5%Canny - wenn Pose gehalten und kaum Detailveränderung-
|
| 1073 |
canny_ratio = 0.00 # wenn Pose gehalten und mehr Detailveränderung -empfohlen 0.85/0.15
|
| 1074 |
print("👤 Humanoid → Humanoid → Ratio 85:15 (Pose:Canny)")
|
| 1075 |
|