Astridkraft commited on
Commit
7c9de90
·
verified ·
1 Parent(s): 241259a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1492,9 +1492,16 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1492
 
1493
  elif is_back_head:
1494
  # Anime-HINTERKOPF
1495
- depth_ratio = 0.35 + 0.15 * smoothstep(0.5, 0.9, ui_strength) # Niedriger
1496
  canny_ratio = 1.0 - depth_ratio
1497
  print(" 💇 Anime-Hinterkopf: Mehr Canny für Haarkontur")
 
 
 
 
 
 
 
1498
  else:
1499
  # Standard-Anime (Fallback)
1500
  depth_ratio = 0.55 + 0.15 * smoothstep(0.5, 0.9, ui_strength)
 
1492
 
1493
  elif is_back_head:
1494
  # Anime-HINTERKOPF
1495
+ depth_ratio = 0.65 + 0.20 * smoothstep(0.5, 0.9, ui_strength) # Niedriger
1496
  canny_ratio = 1.0 - depth_ratio
1497
  print(" 💇 Anime-Hinterkopf: Mehr Canny für Haarkontur")
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+
1505
  else:
1506
  # Standard-Anime (Fallback)
1507
  depth_ratio = 0.55 + 0.15 * smoothstep(0.5, 0.9, ui_strength)