Update app.py
Browse files
app.py
CHANGED
|
@@ -1079,10 +1079,10 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1079 |
|
| 1080 |
# Anpassung für Humanoid → Humanoid
|
| 1081 |
if any(keyword in prompt_lower for keyword in humanoid_keywords):
|
| 1082 |
-
adj_strength =
|
| 1083 |
-
controlnet_strength = 0.
|
| 1084 |
-
pose_ratio = 0.
|
| 1085 |
-
canny_ratio = 0.
|
| 1086 |
print("👤 Humanoid → Humanoid → Ratio 85:15 (Pose:Canny)")
|
| 1087 |
|
| 1088 |
# Anpassung für Gegenstand → Gegenstand
|
|
|
|
| 1079 |
|
| 1080 |
# Anpassung für Humanoid → Humanoid
|
| 1081 |
if any(keyword in prompt_lower for keyword in humanoid_keywords):
|
| 1082 |
+
adj_strength = 0,62 # wie stark entrauscht wird. Wenn Bereiche transparent oft nicht genug entrauscht.
|
| 1083 |
+
controlnet_strength = 0.6 # controlnet_strength runter: Reduziert global und gleichmäßig den Einfluss beider Maps. Man kann auch beide Maps einzeln heruntersetzen. Ist das Gleiche!
|
| 1084 |
+
pose_ratio = 0.55 # 95%Pose, 5%Canny - wenn Pose gehalten und kaum Detailveränderung-
|
| 1085 |
+
canny_ratio = 0.10 # wenn Pose gehalten und mehr Detailveränderung -empfohlen 0.85/0.15, canny schlecht für Anime
|
| 1086 |
print("👤 Humanoid → Humanoid → Ratio 85:15 (Pose:Canny)")
|
| 1087 |
|
| 1088 |
# Anpassung für Gegenstand → Gegenstand
|