diff --git a/setup.py b/setup.py index aa89eba..6839f3e 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name="webuiapi", - version="0.3.2", + version="0.3.3", description="Python API client for AUTOMATIC1111/stable-diffusion-webui", url="https://github.com/mix1009/sdwebuiapi", author="ChunKoo Park", diff --git a/webuiapi/__init__.py b/webuiapi/__init__.py index 39b216b..663075e 100644 --- a/webuiapi/__init__.py +++ b/webuiapi/__init__.py @@ -1,6 +1,6 @@ from .webuiapi import WebUIApi, WebUIApiResult, Upscaler, HiResUpscaler, b64_img, ModelKeywordResult, ModelKeywordInterface, InstructPix2PixInterface -__version__ = "0.3.2" +__version__ = "0.3.3" __all__ = [ "__version__", diff --git a/webuiapi/webuiapi.py b/webuiapi/webuiapi.py index ecb4d97..5f0897b 100644 --- a/webuiapi/webuiapi.py +++ b/webuiapi/webuiapi.py @@ -121,7 +121,6 @@ def txt2img(self, batch_size=1, n_iter=1, cfg_scale=7.0, - image_cfg_scale=1.5, width=512, height=512, restore_faces=False, @@ -169,7 +168,6 @@ def txt2img(self, "n_iter": n_iter, "steps": steps, "cfg_scale": cfg_scale, - "image_cfg_scale": image_cfg_scale, "width": width, "height": height, "restore_faces": restore_faces, @@ -211,6 +209,7 @@ def img2img(self, batch_size=1, n_iter=1, cfg_scale=7.0, + image_cfg_scale=1.5, width=512, height=512, restore_faces=False, @@ -260,6 +259,7 @@ def img2img(self, "n_iter": n_iter, "steps": steps, "cfg_scale": cfg_scale, + "image_cfg_scale": image_cfg_scale, "width": width, "height": height, "restore_faces": restore_faces,