Update image_caption_gui.py
Signed-off-by: Victor Hall <victor.charles.hall@gmail.com>
This commit is contained in:
parent
e02ea99a0f
commit
51edb0c568
|
@ -13,7 +13,7 @@ from tkinter import filedialog
|
||||||
from PIL import Image, ImageTk
|
from PIL import Image, ImageTk
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
IMG_EXT = ["jpg", "jpeg", "png"]
|
IMG_EXT = ["jpg", "jpeg", "png", "webp"]
|
||||||
|
|
||||||
class CaptionedImage():
|
class CaptionedImage():
|
||||||
def __init__(self, image_path):
|
def __init__(self, image_path):
|
||||||
|
|
Loading…
Reference in New Issue