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