diff --git a/src/utils/helper.py b/src/utils/helper.py index 777bf09..bfa5818 100644 --- a/src/utils/helper.py +++ b/src/utils/helper.py @@ -45,7 +45,7 @@ def remove_suffix(filepath): def is_image(file_path): - image_extensions = ('.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff') + image_extensions = ('.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.webp') return file_path.lower().endswith(image_extensions)