Sqxww commited on
Commit
20e7c98
·
1 Parent(s): d840c30

fix resize

Browse files
Files changed (1) hide show
  1. ominicontrol.py +1 -1
ominicontrol.py CHANGED
@@ -128,7 +128,7 @@ def generate_image(
128
  ).images[0]
129
  # result_img = image
130
 
131
- result_img = result_img.resize(width, height, Image.LANCZOS)
132
 
133
  return result_img
134
 
 
128
  ).images[0]
129
  # result_img = image
130
 
131
+ result_img = result_img.resize((width, height), Image.LANCZOS)
132
 
133
  return result_img
134