Astridkraft commited on
Commit
9b3e655
·
verified ·
1 Parent(s): 06ee267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1073,7 +1073,7 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1073
  # Anpassung für Naturszenen (maximale Flexibilität)
1074
  elif any(keyword in prompt_lower for keyword in nature_keywords):
1075
  depth_ratio = 0.50 #Depth-Wert hält Maßstab und Boden (Emi groß, Liege klein - Emi im Meer)
1076
- canny_ratio = 0.12. #erzwingt Kanten - hält dadurch an alter Umgebung fest - schlecht bei Umgebungswechsel
1077
  print("🌳 Naturszene erkannt → Ratio 95:5 (Depth:Canny)")
1078
  else:
1079
  print("🎯 Standard-Ratio 90:10 (Depth:Canny)")
 
1073
  # Anpassung für Naturszenen (maximale Flexibilität)
1074
  elif any(keyword in prompt_lower for keyword in nature_keywords):
1075
  depth_ratio = 0.50 #Depth-Wert hält Maßstab und Boden (Emi groß, Liege klein - Emi im Meer)
1076
+ canny_ratio = 0.12 #erzwingt Kanten - hält dadurch an alter Umgebung fest - schlecht bei Umgebungswechsel
1077
  print("🌳 Naturszene erkannt → Ratio 95:5 (Depth:Canny)")
1078
  else:
1079
  print("🎯 Standard-Ratio 90:10 (Depth:Canny)")