Astridkraft commited on
Commit
e94b4ef
·
verified ·
1 Parent(s): 9f8ee66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1069,8 +1069,8 @@ 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.6, strength)
1071
  controlnet_strength = 0.5
1072
- pose_ratio = 0.85 # 95%Pose, 5%Canny - wenn Pose gehalten und kaum Detailveränderung-
1073
- canny_ratio = 0.15 # 80%Pose, 20 Canny - wenn Pose gehalten und mehr Detailveränderung -empfohlen 0.85/0.15
1074
  print("👤 Humanoid → Humanoid → Ratio 85:15 (Pose:Canny)")
1075
 
1076
  # Anpassung für Gegenstand → Gegenstand
 
1069
  if any(keyword in prompt_lower for keyword in humanoid_keywords):
1070
  adj_strength = min(0.6, strength)
1071
  controlnet_strength = 0.5
1072
+ pose_ratio = 0.60 # 85/15 95%Pose, 5%Canny - wenn Pose gehalten und kaum Detailveränderung-
1073
+ canny_ratio = 0.01 # 80%Pose, 20 Canny - wenn Pose gehalten und mehr Detailveränderung -empfohlen 0.85/0.15
1074
  print("👤 Humanoid → Humanoid → Ratio 85:15 (Pose:Canny)")
1075
 
1076
  # Anpassung für Gegenstand → Gegenstand