Astridkraft commited on
Commit
49c9c3a
·
verified ·
1 Parent(s): 2866751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -1541,14 +1541,12 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1541
 
1542
  else: #Standard-Modus für alle Köpfe!
1543
  print(" Standard-Modus für alle Köpfe")
1544
-
1545
-
1546
-
1547
- #======Clipping für alle Fälle=========
1548
- adj_strength = max(0.15, min(adj_strength, 0.95))
1549
- controlnet_strength = max(0.1, min(controlnet_strength, 0.9))
1550
- depth_ratio = max(0.1, min(depth_ratio, 0.9))
1551
- canny_ratio = max(0.1, min(canny_ratio, 0.9))
1552
 
1553
  #======Conditioning Scale für alle Fälle=======
1554
  conditioning_scale = [
 
1541
 
1542
  else: #Standard-Modus für alle Köpfe!
1543
  print(" Standard-Modus für alle Köpfe")
1544
+
1545
+ #======Clipping für alle Köpfe=========
1546
+ adj_strength = max(0.15, min(adj_strength, 0.95))
1547
+ controlnet_strength = max(0.1, min(controlnet_strength, 0.9))
1548
+ depth_ratio = max(0.1, min(depth_ratio, 0.9))
1549
+ canny_ratio = max(0.1, min(canny_ratio, 0.9))
 
 
1550
 
1551
  #======Conditioning Scale für alle Fälle=======
1552
  conditioning_scale = [