Update app.py
Browse files
app.py
CHANGED
|
@@ -1138,8 +1138,8 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
|
|
| 1138 |
elif any(keyword in prompt_lower for keyword in nature_keywords):
|
| 1139 |
adj_strength = 0.75
|
| 1140 |
controlnet_strength = 0.50
|
| 1141 |
-
depth_ratio = 0.
|
| 1142 |
-
canny_ratio = 0.
|
| 1143 |
print("🌳 Naturszene erkannt → Ratio 95:5 (Depth:Canny)")
|
| 1144 |
else:
|
| 1145 |
print("🎯 Standard-Ratio 90:10 (Depth:Canny)")
|
|
|
|
| 1138 |
elif any(keyword in prompt_lower for keyword in nature_keywords):
|
| 1139 |
adj_strength = 0.75
|
| 1140 |
controlnet_strength = 0.50
|
| 1141 |
+
depth_ratio = 0.60 #Depth-Wert hält Maßstab und Boden (Emi groß, Liege klein - Emi im Meer)
|
| 1142 |
+
canny_ratio = 0.01 #erzwingt Kanten - hält dadurch an alter Umgebung fest - schlecht bei Umgebungswechsel
|
| 1143 |
print("🌳 Naturszene erkannt → Ratio 95:5 (Depth:Canny)")
|
| 1144 |
else:
|
| 1145 |
print("🎯 Standard-Ratio 90:10 (Depth:Canny)")
|