Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,7 @@ def resize(width,img):
|
|
31 |
|
32 |
def infer(prompt, init_image):
|
33 |
init_image = resize(512,init_image)
|
|
|
34 |
#image = pipe(prompt, init_image=init_image)["sample"][0]
|
35 |
images_list = pipe([prompt] * 2, init_image=init_image, strength=0.75)
|
36 |
images = []
|
|
|
31 |
|
32 |
def infer(prompt, init_image):
|
33 |
init_image = resize(512,init_image)
|
34 |
+
init_image = init_image.save("init_image.png")
|
35 |
#image = pipe(prompt, init_image=init_image)["sample"][0]
|
36 |
images_list = pipe([prompt] * 2, init_image=init_image, strength=0.75)
|
37 |
images = []
|