Astridkraft commited on
Commit
3c15b06
·
verified ·
1 Parent(s): bdb8d88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1436,7 +1436,7 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1436
 
1437
  #Clipping
1438
  adj_strength = max(0.3, min(adj_strength, 0.85))
1439
- controlnet_strength = max(0.2, min(controlnet_strength, 0.7))
1440
  depth_ratio = max(0.4, min(depth_ratio, 0.8))
1441
  canny_ratio = max(0.05, min(canny_ratio, 0.15))
1442
 
 
1436
 
1437
  #Clipping
1438
  adj_strength = max(0.3, min(adj_strength, 0.85))
1439
+ controlnet_strength = max(0.25, min(controlnet_strength, 0.75))
1440
  depth_ratio = max(0.4, min(depth_ratio, 0.8))
1441
  canny_ratio = max(0.05, min(canny_ratio, 0.15))
1442