Aduc-sdr commited on
Commit
dc2faca
·
verified ·
1 Parent(s): af36a01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate(image: Image.Image, edit_prompt: str):
29
  share_position_embedding = True,
30
  )
31
 
32
- img = image_resize(image, 320)
33
  w, h = img.size
34
  img = img.resize(((w // 32) * 32, (h // 32) * 32))
35
  img = torch.from_numpy((np.array(img) / 127.5) - 1)
 
29
  share_position_embedding = True,
30
  )
31
 
32
+ img = image_resize(image, 544)
33
  w, h = img.size
34
  img = img.resize(((w // 32) * 32, (h // 32) * 32))
35
  img = torch.from_numpy((np.array(img) / 127.5) - 1)