diff --git a/scripts/image_caption_gui.py b/scripts/image_caption_gui.py index dca965b..a8e04ca 100644 --- a/scripts/image_caption_gui.py +++ b/scripts/image_caption_gui.py @@ -13,7 +13,7 @@ from tkinter import filedialog from PIL import Image, ImageTk from pathlib import Path -IMG_EXT = ["jpg", "jpeg", "png"] +IMG_EXT = ["jpg", "jpeg", "png", "webp"] class CaptionedImage(): def __init__(self, image_path): @@ -158,4 +158,4 @@ if __name__=='__main__': view = ImageView(root) view.pack(side=tk.TOP, fill=tk.BOTH, expand=True) - root.mainloop() \ No newline at end of file + root.mainloop()