Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,8 @@ if file_name is not None:
|
|
| 68 |
image = random_crop(image)
|
| 69 |
image = image.resize((200, 200))
|
| 70 |
|
| 71 |
-
if image.format != "JPEG" and compress :
|
|
|
|
| 72 |
image = jpg_compression(image)
|
| 73 |
|
| 74 |
col1.image(image, use_column_width=True)
|
|
|
|
| 68 |
image = random_crop(image)
|
| 69 |
image = image.resize((200, 200))
|
| 70 |
|
| 71 |
+
#if image.format != "JPEG" and compress :
|
| 72 |
+
if compress :
|
| 73 |
image = jpg_compression(image)
|
| 74 |
|
| 75 |
col1.image(image, use_column_width=True)
|