Astridkraft commited on
Commit
8a0ea04
·
verified ·
1 Parent(s): 8d8dd67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 = min(0.65, strength) # wie stark entrauscht wird. Wenn Bereiche transparent oft nicht genug entrauscht.
1083
- 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!
1084
- pose_ratio = 0.60 # 95%Pose, 5%Canny - wenn Pose gehalten und kaum Detailveränderung-
1085
- canny_ratio = 0.00 # wenn Pose gehalten und mehr Detailveränderung -empfohlen 0.85/0.15
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