Freiburg-AI-Research commited on
Commit
d52f401
Β·
1 Parent(s): 3ca0576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -236,7 +236,7 @@ def sample(prompt):
236
  image = get_images(up_samples)
237
  # image = to_base64(image)
238
  # return {"image": image}
239
- resized_image = image.resize((128, 128), Image.ANTIALIAS)
240
  return resized_image
241
 
242
 
 
236
  image = get_images(up_samples)
237
  # image = to_base64(image)
238
  # return {"image": image}
239
+ resized_image = image.resize((128, 128), Image.LANCZOS)
240
  return resized_image
241
 
242