mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-01 14:51:35 -08:00
Add upscaler to img2img
This commit is contained in:
parent
68999d0b15
commit
7ea5d395c4
6 changed files with 30 additions and 13 deletions
|
|
@ -220,6 +220,7 @@ axis_options = [
|
|||
AxisOption("Clip skip", int, apply_clip_skip),
|
||||
AxisOption("Denoising", float, apply_field("denoising_strength")),
|
||||
AxisOptionTxt2Img("Hires upscaler", str, apply_field("hr_upscaler"), choices=lambda: [*shared.latent_upscale_modes, *[x.name for x in shared.sd_upscalers]]),
|
||||
AxisOptionImg2Img("Upscaler", str, apply_field("upscaler"), choices=lambda: [*shared.latent_upscale_modes, *[x.name for x in shared.sd_upscalers]]),
|
||||
AxisOptionImg2Img("Cond. Image Mask Weight", float, apply_field("inpainting_mask_weight")),
|
||||
AxisOption("VAE", str, apply_vae, cost=0.7, choices=lambda: list(sd_vae.vae_dict)),
|
||||
AxisOption("Styles", str, apply_styles, choices=lambda: list(shared.prompt_styles.styles)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue