Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def resize(height,img):
|
|
37 |
|
38 |
def infer(prompt, source_img):
|
39 |
|
40 |
-
source_image =
|
41 |
source_image.save('source.png')
|
42 |
images_list = img_pipe([prompt] * 2, init_image=source_image, strength=0.75)
|
43 |
images = []
|
|
|
37 |
|
38 |
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=source_image, strength=0.75)
|
43 |
images = []
|