Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ if file_name is not None:
|
|
| 80 |
if image.size != (200, 200) or image.mode != 'RGB':
|
| 81 |
if crop:
|
| 82 |
image = random_crop(image)
|
| 83 |
-
image = image.resize((200, 200))
|
| 84 |
|
| 85 |
#if image.format != "JPEG" and compress :
|
| 86 |
if compress :
|
|
|
|
| 80 |
if image.size != (200, 200) or image.mode != 'RGB':
|
| 81 |
if crop:
|
| 82 |
image = random_crop(image)
|
| 83 |
+
image = image.resize((200, 200), Image.LANCZOS)
|
| 84 |
|
| 85 |
#if image.format != "JPEG" and compress :
|
| 86 |
if compress :
|