From 6caf115000f8926236f2f86656ded6ee3b169c8c Mon Sep 17 00:00:00 2001 From: sudoskys Date: Tue, 19 Mar 2024 23:14:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20fix:=20set=20transparency=20?= =?UTF-8?q?to=20true=20in=20generate=5Fimage=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/novelai_python/sdk/ai/generate_image/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/novelai_python/sdk/ai/generate_image/__init__.py b/src/novelai_python/sdk/ai/generate_image/__init__.py index 80d1682..7b22e88 100755 --- a/src/novelai_python/sdk/ai/generate_image/__init__.py +++ b/src/novelai_python/sdk/ai/generate_image/__init__.py @@ -161,7 +161,7 @@ def add_image_to_black_background( image: Union[str, bytes], width: int = 448, height: int = 448, - transparency: bool = False + transparency: bool = True ): """ From 777d0eb1445374473909100d0a4946a986363c0e Mon Sep 17 00:00:00 2001 From: sudoskys Date: Tue, 19 Mar 2024 23:14:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20fix:=20set=20transparency=20?= =?UTF-8?q?to=20true=20in=20generate=5Fimage=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1cd0e73..f1a20a3 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "novelai-python" -version = "0.4.3" +version = "0.4.4" description = "NovelAI Python Binding With Pydantic" authors = [ { name = "sudoskys", email = "coldlando@hotmail.com" },