Spaces:
Sleeping
Sleeping
Commit
·
09d0776
1
Parent(s):
9c70b67
Update ad_creator.py
Browse files- ad_creator.py +2 -2
ad_creator.py
CHANGED
@@ -156,8 +156,8 @@ def produce_diffusion_image(image: Image.Image, prompt: str, color_name: str):
|
|
156 |
|
157 |
created_image = pipe(prompt=prompt_with_color,
|
158 |
image=init_image,
|
159 |
-
strength=0.
|
160 |
-
num_inference_steps=
|
161 |
guidance_scale=7.5).images[0]
|
162 |
|
163 |
return created_image
|
|
|
156 |
|
157 |
created_image = pipe(prompt=prompt_with_color,
|
158 |
image=init_image,
|
159 |
+
strength=0.5,
|
160 |
+
num_inference_steps=40,
|
161 |
guidance_scale=7.5).images[0]
|
162 |
|
163 |
return created_image
|