Astridkraft commited on
Commit
d27fb66
·
verified ·
1 Parent(s): bdac8dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -991,7 +991,8 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale,
991
  progress(0.3, desc="ControlNet abgeschlossen – starte Inpaint...")
992
 
993
  # ===== CONTROLNET-INPAINTING PIPELINE =====
994
- pipe = load_img2img() # MUSS StableDiffusionControlNetInpaintPipeline sein!
 
995
 
996
  # ===== SEED UND GENERATOR =====
997
  adj_guidance = min(guidance_scale, 12.0)
 
991
  progress(0.3, desc="ControlNet abgeschlossen – starte Inpaint...")
992
 
993
  # ===== CONTROLNET-INPAINTING PIPELINE =====
994
+ pipe = load_img2img(keep_environment=keep_environment)
995
+ #pipe = load_img2img() # MUSS StableDiffusionControlNetInpaintPipeline sein!
996
 
997
  # ===== SEED UND GENERATOR =====
998
  adj_guidance = min(guidance_scale, 12.0)