fffiloni commited on
Commit
a0e63b5
1 Parent(s): 4fe203e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def resize(height,img):
37
 
38
  def infer(prompt, source_img):
39
 
40
- source_image = source_img.resize((512,512), Image.Resampling.LANCZOS)
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 = []