Astridkraft commited on
Commit
d39274f
·
verified ·
1 Parent(s): 8dfd94b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1481,16 +1481,16 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1481
  # Im Bereich >0.85 Identitätswechsel möglich!
1482
  else:
1483
  controlnet_strength = 0.30
1484
- canny_ratio = 0.10
1485
 
1486
  depth_ratio = 1.0 - canny_ratio
1487
 
1488
 
1489
  #Clipping:
1490
  adj_strength = max(0.30, min(adj_strength, 0.95)) # 25-95%
1491
- controlnet_strength = max(0.30, min(controlnet_strength, 0.85)) # 15-85%
1492
- depth_ratio = max(0.65, min(depth_ratio, 0.90)) # 50-95%
1493
- canny_ratio = max(0.10, min(canny_ratio, 0.35)) # 5-40%
1494
 
1495
  print(f" 👤 LATE-START GESICHT:")
1496
  print(f" UI={ui_strength:.2f}, t={t:.3f}")
 
1481
  # Im Bereich >0.85 Identitätswechsel möglich!
1482
  else:
1483
  controlnet_strength = 0.30
1484
+ canny_ratio = 0.18
1485
 
1486
  depth_ratio = 1.0 - canny_ratio
1487
 
1488
 
1489
  #Clipping:
1490
  adj_strength = max(0.30, min(adj_strength, 0.95)) # 25-95%
1491
+ controlnet_strength = max(0.28, min(controlnet_strength, 0.40)) # 15-85%
1492
+ depth_ratio = max(0.70, min(depth_ratio, 0.82)) # 50-95%
1493
+ canny_ratio = max(0.18, min(canny_ratio, 0.30)) # 5-40%
1494
 
1495
  print(f" 👤 LATE-START GESICHT:")
1496
  print(f" UI={ui_strength:.2f}, t={t:.3f}")