fffiloni commited on
Commit
209f4b1
·
1 Parent(s): 30f62bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -19,8 +19,6 @@ pipe.to(device)
19
 
20
  def infer(prompt, init_image):
21
 
22
- init_image = init_image.resize((512, 512))
23
- init_image = preprocess(init_image)
24
  image = pipe(prompt, init_image=init_image)["sample"][0]
25
 
26
  return image
 
19
 
20
  def infer(prompt, init_image):
21
 
 
 
22
  image = pipe(prompt, init_image=init_image)["sample"][0]
23
 
24
  return image