Astridkraft commited on
Commit
5f924ca
·
verified ·
1 Parent(s): d39274f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1459,7 +1459,7 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1459
 
1460
  def smoothstep_late(min_val, max_val, x):
1461
  t = max(0, min(1, (x - min_val) / (max_val - min_val)))
1462
- t = t * t # Quadratischer Bias → spätere Änderung
1463
  return t * (3 - 2 * t) # Dann normale S-Kurve
1464
 
1465
 
 
1459
 
1460
  def smoothstep_late(min_val, max_val, x):
1461
  t = max(0, min(1, (x - min_val) / (max_val - min_val)))
1462
+ t = t * t # Quadratischer Bias (Kurvenverschiebung) → spätere Änderung
1463
  return t * (3 - 2 * t) # Dann normale S-Kurve
1464
 
1465