Update app.py
Browse files
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.
|
| 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 |
|