Spaces:
Running
Running
Commit
·
2012c46
1
Parent(s):
268b0bb
options/Banner_Model/Image2Image.py
CHANGED
@@ -45,10 +45,10 @@ def I2I(prompt, image, width=1024, height=1024, guidance_scale=8.0, num_inferenc
|
|
45 |
prompt=prompt,
|
46 |
image=img_url,
|
47 |
mask_image=mask_url,
|
48 |
-
guidance_scale=guidance_scale,
|
49 |
-
num_inference_steps=num_inference_steps, # steps between 15 and 30 work well for us
|
50 |
-
strength=strength, # make sure to use `strength` below 1.0
|
51 |
-
generator=generator,
|
52 |
)
|
53 |
|
54 |
return output.images[0]
|
|
|
45 |
prompt=prompt,
|
46 |
image=img_url,
|
47 |
mask_image=mask_url,
|
48 |
+
# guidance_scale=guidance_scale,
|
49 |
+
# num_inference_steps=num_inference_steps, # steps between 15 and 30 work well for us
|
50 |
+
# strength=strength, # make sure to use `strength` below 1.0
|
51 |
+
# generator=generator,
|
52 |
)
|
53 |
|
54 |
return output.images[0]
|
options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc differ
|
|