TalHach61 commited on
Commit
c75e720
·
verified ·
1 Parent(s): 6efc4ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def get_size(init_image):
184
  w,h = chosen_ratio['width'], chosen_ratio['height']
185
  return w,h
186
 
187
- def resize_image(image):
188
  image = image.convert('RGB')
189
  w,h = get_size(image)
190
  resized_image = image.resize((w, h))
 
184
  w,h = chosen_ratio['width'], chosen_ratio['height']
185
  return w,h
186
 
187
+ def resize_img(image):
188
  image = image.convert('RGB')
189
  w,h = get_size(image)
190
  resized_image = image.resize((w, h))