Spaces:
Runtime error
Runtime error
Update pixelization.py
Browse files98 unmodified lines9910010110210310410510698 unmodified linesin_img = in_img.convert('RGB')# limit in_img size to 1024x1024 to maintain performance# if in_img.size[0] > 1024 or in_img.size[1] > 1024:# in_img.thumbnail((1024, 1024), Image.NEAREST)# Killing inspect element users, I know what you're doing lol.# pixel_size = pixel_size if pixel_size >= 4 else 498 unmodified lines9910010110210310410510698 unmodified linesin_img = in_img.convert('RGB')# limit in_img size to 1024x1024 to maintain performanceif in_img.size[0] > 1024 or in_img.size[1] > 1024:in_img.thumbnail((1024, 1024), Image.NEAREST)# Killing inspect element users, I know what you're doing lol.# pixel_size = pixel_size if pixel_size >= 4 else 4
pixelization.py+2-2