Update controlnet_facefix.py
Browse files- controlnet_facefix.py +3 -3
controlnet_facefix.py
CHANGED
|
@@ -129,9 +129,9 @@ def apply_facefix(image: Image.Image, prompt: str, negative_prompt: str, seed: i
|
|
| 129 |
prompt=face_quality_prompt, # KURZ und fokussiert
|
| 130 |
negative_prompt="deformed, blurry, low quality",
|
| 131 |
image=[pose_img, depth_img],
|
| 132 |
-
controlnet_conditioning_scale=[0.
|
| 133 |
-
num_inference_steps=
|
| 134 |
-
guidance_scale=
|
| 135 |
generator=torch.Generator(device).manual_seed(seed), # Gleicher Seed
|
| 136 |
height=512,
|
| 137 |
width=512,
|
|
|
|
| 129 |
prompt=face_quality_prompt, # KURZ und fokussiert
|
| 130 |
negative_prompt="deformed, blurry, low quality",
|
| 131 |
image=[pose_img, depth_img],
|
| 132 |
+
controlnet_conditioning_scale=[0.7, 0.4], # EXTREM NIEDRIG: OpenPose 0.35, Depth 0.12
|
| 133 |
+
num_inference_steps=20, # SEHR WENIG Steps
|
| 134 |
+
guidance_scale=7.0, # NIEDRIGER CFG
|
| 135 |
generator=torch.Generator(device).manual_seed(seed), # Gleicher Seed
|
| 136 |
height=512,
|
| 137 |
width=512,
|