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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1470,15 +1470,15 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1470
 
1471
  adj_strength = 0.30 + 0.60 * t
1472
 
1473
- # DEPTH/CANNY: Später Anstieg, starke Anime-Stilisierung
1474
  if ui_strength <= 0.65:
1475
  controlnet_strength = 0.45
1476
  canny_ratio = 0.35
1477
-
1478
  elif ui_strength <= 0.85:
1479
  controlnet_strength = 0.37
1480
  canny_ratio = 0.20
1481
-
1482
  else:
1483
  controlnet_strength = 0.30
1484
  canny_ratio = 0.10
 
1470
 
1471
  adj_strength = 0.30 + 0.60 * t
1472
 
1473
+ # Im Bereich 0.1-0.65 wird die Transformation stabil gehalten
1474
  if ui_strength <= 0.65:
1475
  controlnet_strength = 0.45
1476
  canny_ratio = 0.35
1477
+ # Im Bereich 0.66 bis 0.85 erfolgt ein Stilwechsel
1478
  elif ui_strength <= 0.85:
1479
  controlnet_strength = 0.37
1480
  canny_ratio = 0.20
1481
+ # Im Bereich >0.85 Identitätswechsel möglich!
1482
  else:
1483
  controlnet_strength = 0.30
1484
  canny_ratio = 0.10