Astridkraft commited on
Commit
cac4c24
·
verified ·
1 Parent(s): c942951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1137,6 +1137,8 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
1137
  else: # face_only_change
1138
  keep_environment = True
1139
  adj_strength = min(0.65, strength * 1.05)
 
 
1140
  controlnet_strength = adj_strength * 0.45
1141
 
1142
  # HIER FEHLEN DIE RATIOS - Controlnet gesteuertes Inpainting:
 
1137
  else: # face_only_change
1138
  keep_environment = True
1139
  adj_strength = min(0.65, strength * 1.05)
1140
+
1141
+ # Controlnet-zurückhaltend
1142
  controlnet_strength = adj_strength * 0.45
1143
 
1144
  # HIER FEHLEN DIE RATIOS - Controlnet gesteuertes Inpainting: