update using original defaults

This commit is contained in:
Vladimir Mandic
2023-03-04 17:51:37 -05:00
committed by GitHub
parent f8e219bad9
commit b012d70f15
2 changed files with 15 additions and 8 deletions

View File

@@ -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()