Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def infer(prompt, source_img):
|
|
39 |
|
40 |
source_image = resize(512,source_img)
|
41 |
source_image.save('source.png')
|
42 |
-
images_list = img_pipe([prompt] * 2, init_image=
|
43 |
images = []
|
44 |
safe_image = Image.open(r"unsafe.png")
|
45 |
for i, image in enumerate(images_list["sample"]):
|
|
|
39 |
|
40 |
source_image = resize(512,source_img)
|
41 |
source_image.save('source.png')
|
42 |
+
images_list = img_pipe([prompt] * 2, init_image=source_image, strength=0.75)
|
43 |
images = []
|
44 |
safe_image = Image.open(r"unsafe.png")
|
45 |
for i, image in enumerate(images_list["sample"]):
|