fffiloni commited on
Commit
2189810
·
1 Parent(s): 84d7069

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="galler
26
  def infer(prompt, init_image):
27
  print(init_image)
28
  init_image = Image.open(init_image)
29
- init_image = init_image.resize((768, 512))
30
  #image = pipe(prompt, init_image=init_image)["sample"][0]
31
  images_list = pipe([prompt] * 2, init_image=init_image, strength=0.75)
32
  images = []
 
26
  def infer(prompt, init_image):
27
  print(init_image)
28
  init_image = Image.open(init_image)
29
+ init_image.resize((768, 512))
30
  #image = pipe(prompt, init_image=init_image)["sample"][0]
31
  images_list = pipe([prompt] * 2, init_image=init_image, strength=0.75)
32
  images = []