fffiloni commited on
Commit
42e4838
1 Parent(s): c05b820

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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 = []