Update app.py
Browse files
app.py
CHANGED
|
@@ -227,7 +227,8 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale, fac
|
|
| 227 |
print(f"🎯 ControlNet Strength: {controlnet_strength:.3f} (50% von Inpaint-Strength {adj_strength:.3f})")
|
| 228 |
|
| 229 |
# ControlNet Modul aufrufen - MIT ZWEI RÜCKGABEWERTEN
|
| 230 |
-
|
|
|
|
| 231 |
image=image,
|
| 232 |
prompt=prompt,
|
| 233 |
negative_prompt=neg_prompt,
|
|
|
|
| 227 |
print(f"🎯 ControlNet Strength: {controlnet_strength:.3f} (50% von Inpaint-Strength {adj_strength:.3f})")
|
| 228 |
|
| 229 |
# ControlNet Modul aufrufen - MIT ZWEI RÜCKGABEWERTEN
|
| 230 |
+
# ControlNet Modul aufrufen - MIT DREI RÜCKGABEWERTEN
|
| 231 |
+
controlnet_output, conditioning_image, inpaint_input = controlnet_processor.generate_with_controlnet(
|
| 232 |
image=image,
|
| 233 |
prompt=prompt,
|
| 234 |
negative_prompt=neg_prompt,
|