diff options
author | Vladimir Mandic <mandic00@live.com> | 2023-03-04 22:51:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 22:51:37 +0000 |
commit | b012d70f15641d6b85c9257b83cec892e941609c (patch) | |
tree | cda1c34c954b685c19303d27791c4cd1511e64ae /modules/api/models.py | |
parent | f8e219bad9f33cde94cd31fff3edd70946612541 (diff) | |
download | stable-diffusion-webui-gfx803-b012d70f15641d6b85c9257b83cec892e941609c.tar.gz stable-diffusion-webui-gfx803-b012d70f15641d6b85c9257b83cec892e941609c.tar.bz2 stable-diffusion-webui-gfx803-b012d70f15641d6b85c9257b83cec892e941609c.zip |
update using original defaults
Diffstat (limited to 'modules/api/models.py')
-rw-r--r-- | modules/api/models.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/api/models.py b/modules/api/models.py index aa4ea5d5..2b66e1f0 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -104,7 +104,8 @@ StableDiffusionTxt2ImgProcessingAPI = PydanticModelGenerator( {"key": "sampler_index", "type": str, "default": "Euler"}, {"key": "script_name", "type": str, "default": None}, {"key": "script_args", "type": list, "default": []}, - {"key": "do_not_send_images", "type": bool, "default": False} + {"key": "do_not_send", "type": bool, "default": False}, + {"key": "do_not_save", "type": bool, "default": True} ] ).generate_model() @@ -119,7 +120,8 @@ StableDiffusionImg2ImgProcessingAPI = PydanticModelGenerator( {"key": "include_init_images", "type": bool, "default": False, "exclude" : True}, {"key": "script_name", "type": str, "default": None}, {"key": "script_args", "type": list, "default": []}, - {"key": "do_not_send_images", "type": bool, "default": False} + {"key": "do_not_send", "type": bool, "default": False}, + {"key": "do_not_save", "type": bool, "default": True} ] ).generate_model() |