fffiloni commited on
Commit
0c696be
1 Parent(s): 040c9ac

Update app.py

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