ElBeh commited on
Commit
a7878a1
·
verified ·
1 Parent(s): 4158935

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)