mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
api set default script-name
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -200,7 +200,7 @@ ReqTxt2Img = PydanticModelGenerator(
|
||||
{"key": "sampler_index", "type": Union[int, str], "default": 0},
|
||||
{"key": "sampler_name", "type": str, "default": "Default"},
|
||||
{"key": "hr_sampler_name", "type": str, "default": "Same as primary"},
|
||||
{"key": "script_name", "type": Optional[str], "default": "none"},
|
||||
{"key": "script_name", "type": Optional[str], "default": ""},
|
||||
{"key": "script_args", "type": list, "default": []},
|
||||
{"key": "send_images", "type": bool, "default": True},
|
||||
{"key": "save_images", "type": bool, "default": False},
|
||||
@@ -228,7 +228,7 @@ ReqImg2Img = PydanticModelGenerator(
|
||||
{"key": "denoising_strength", "type": float, "default": 0.5},
|
||||
{"key": "mask", "type": Optional[str], "default": None},
|
||||
{"key": "include_init_images", "type": bool, "default": False, "exclude": True},
|
||||
{"key": "script_name", "type": Optional[str], "default": "none"},
|
||||
{"key": "script_name", "type": Optional[str], "default": ""},
|
||||
{"key": "script_args", "type": list, "default": []},
|
||||
{"key": "send_images", "type": bool, "default": True},
|
||||
{"key": "save_images", "type": bool, "default": False},
|
||||
|
||||
Reference in New Issue
Block a user