Update image_caption_gui.py

Signed-off-by: Victor Hall <victor.charles.hall@gmail.com>
This commit is contained in:
Victor Hall 2023-05-30 12:48:44 -04:00 committed by GitHub
parent e02ea99a0f
commit 51edb0c568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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()
root.mainloop()