Akjava commited on
Commit
feb6b51
1 Parent(s): 71590d8

resize back 32

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def process_images(image,prompt="a girl",strength=0.75,seed=0,inference_step=4,p
75
 
76
  # resize back multiple of 32
77
  if (new_width!=fit_width) or (new_height!=fit_height):
78
- resized_image= pil_image.resize(fit_width,fit_height,Image.LANCZOS)
79
  return resized_image
80
 
81
  return pil_image
 
75
 
76
  # resize back multiple of 32
77
  if (new_width!=fit_width) or (new_height!=fit_height):
78
+ resized_image= pil_image.resize((fit_width,fit_height),Image.LANCZOS)
79
  return resized_image
80
 
81
  return pil_image