Spaces:
Runtime error
Runtime error
Freiburg-AI-Research
commited on
Commit
Β·
d52f401
1
Parent(s):
3ca0576
Update app.py
Browse files
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.
|
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 |
|