diff --git a/pyproject.toml b/pyproject.toml index 35f2ac9..8320161 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,24 +1,19 @@ [build-system] -requires = ["setuptools", "wheel"] -build-backend = "setuptools.build_meta" - -[project] -name = "kohya_ss" -version = "1.0.3" -description = "A GUI wrapper for kohya-ss SD scipts enabling LoRA training with an easy-to-use web application." -authors = [ - {name = "bmaltais", email = "bernard@ducourier.com"}, -] -readme = "README.md" -classifiers = [ - "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", -] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" [tool.poetry] -license = "Apache-2.0" +name = "library" +version = "1.0.3" +description = "Libraries required to run kohya_ss GUI" +authors = ["Bernard Maltais "] +license = "Apache-2.0" # Apache Software License -[tool.setuptools.packages.find] -where = ["library"] # We have to explicitly tell build tools where to look \ No newline at end of file +[[tool.poetry.source]] +name = "library" +path = "library" + +[tool.poetry.dependencies] +python = ">=3.9,<3.11" + +[tool.poetry.dev-dependencies] diff --git a/tools/group_images.py b/tools/group_images.py index 6ee4a8d..8ca1f18 100644 --- a/tools/group_images.py +++ b/tools/group_images.py @@ -20,7 +20,7 @@ class ImageProcessor: self.pad = pad self.caption = caption self.caption_ext = caption_ext - self.image_extensions = ('.png', '.jpg', '.jpeg', '.gif', '.webp') + self.image_extensions = ('.png', '.jpg', '.jpeg', '.gif', '.webp', '.tiff') def get_image_paths(self): images = []