feat(api): read thumbnail parameter from request
This commit is contained in:
parent
7c6ae6a094
commit
83e5c99cf7
|
@ -118,6 +118,7 @@ def build_params(
|
|||
get_config_value("steps", "min"),
|
||||
)
|
||||
tiled_vae = get_boolean(data, "tiled_vae", get_config_value("tiled_vae"))
|
||||
thumbnail = get_boolean(data, "thumbnail", get_config_value("thumbnail"))
|
||||
unet_overlap = get_and_clamp_float(
|
||||
data,
|
||||
"unet_overlap",
|
||||
|
@ -169,6 +170,7 @@ def build_params(
|
|||
unet_tile=unet_tile,
|
||||
vae_overlap=vae_overlap,
|
||||
vae_tile=vae_tile,
|
||||
thumbnail=thumbnail,
|
||||
)
|
||||
|
||||
return params
|
||||
|
|
|
@ -207,6 +207,9 @@
|
|||
"spiral"
|
||||
]
|
||||
},
|
||||
"thumbnail": {
|
||||
"default": true
|
||||
},
|
||||
"top": {
|
||||
"default": 0,
|
||||
"min": 0,
|
||||
|
|
|
@ -203,6 +203,9 @@
|
|||
"spiral"
|
||||
]
|
||||
},
|
||||
"thumbnail": {
|
||||
"default": true
|
||||
},
|
||||
"top": {
|
||||
"default": 0,
|
||||
"min": 0,
|
||||
|
|
Loading…
Reference in New Issue