Commit
·
eb42092
1
Parent(s):
bfba916
Increase img2img strength to improve colorization
Browse files- app/colorize_model.py +2 -1
app/colorize_model.py
CHANGED
|
@@ -234,7 +234,8 @@ class ColorizeModel:
|
|
| 234 |
image=control_image,
|
| 235 |
negative_prompt=negative_prompt,
|
| 236 |
num_inference_steps=num_inference_steps,
|
| 237 |
-
guidance_scale=guidance_scale
|
|
|
|
| 238 |
)
|
| 239 |
|
| 240 |
if isinstance(result, dict) and "images" in result:
|
|
|
|
| 234 |
image=control_image,
|
| 235 |
negative_prompt=negative_prompt,
|
| 236 |
num_inference_steps=num_inference_steps,
|
| 237 |
+
guidance_scale=guidance_scale,
|
| 238 |
+
strength=1.0
|
| 239 |
)
|
| 240 |
|
| 241 |
if isinstance(result, dict) and "images" in result:
|