Freiburg-AI-Research commited on
Commit
4ae0168
Β·
1 Parent(s): 71239c8

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
  return image
237
 
238
 
239
- def to_base64(pil_image, size=(256, 256)):
240
  pil_image.thumbnail(size, Image.ANTIALIAS)
241
  buffered = BytesIO()
242
  pil_image.save(buffered, format="JPEG")
 
236
  return image
237
 
238
 
239
+ def to_base64(pil_image, size=(64, 64)):
240
  pil_image.thumbnail(size, Image.ANTIALIAS)
241
  buffered = BytesIO()
242
  pil_image.save(buffered, format="JPEG")