mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
add missing metadata
This commit is contained in:
Submodule extensions-builtin/sd-webui-controlnet updated: 573fb2e1b2...c3b32f2543
@@ -120,12 +120,12 @@ div#extras_scale_to_tab div.form{ flex-direction: row; }
|
||||
#quicksettings > button { margin-left: -0.5em; }
|
||||
|
||||
#settings { display: flex; gap: var(--layout-gap); }
|
||||
#settings div { border: none; display: inline-flex; justify-content: normal; }
|
||||
#settings div { border: none; display: inline-flex; justify-content: normal; gap: 0.5em; }
|
||||
#settings > div.tab-content { flex: 10 0 75%; display: grid; }
|
||||
|
||||
#settings > div.tab-content > div { border: none; padding: 0; }
|
||||
#settings > div.tab-content > div > div > div > div > div { flex-direction: unset; }
|
||||
#settings > div.tab-nav { display: grid; grid-template-columns: repeat(auto-fill, .3em minmax(10em, 1fr)); flex: 1 0 auto; width: 12em; align-self: flex-start; gap: var(--spacing-md); }
|
||||
#settings > div.tab-nav { display: grid; grid-template-columns: repeat(auto-fill, .5em minmax(10em, 1fr)); flex: 1 0 auto; width: 12em; align-self: flex-start; gap: var(--spacing-lg); }
|
||||
#settings > div.tab-nav button { display: block; border: none; text-align: left; white-space: initial; padding: 0; }
|
||||
#settings > div.tab-nav > #settings_show_all_pages { padding: var(--size-2) var(--size-4); }
|
||||
#settings .block.gradio-checkbox { margin: 0; width: auto; }
|
||||
|
||||
+1
-1
@@ -551,7 +551,7 @@ def save_image(image, path, basename, seed=None, prompt=None, extension='jpg', i
|
||||
file_decoration = shared.opts.samples_filename_pattern
|
||||
else:
|
||||
file_decoration = "[seq]-[prompt_words]"
|
||||
file_decoration = namegen.apply(file_decoration) + suffix
|
||||
file_decoration = namegen.apply(file_decoration).strip(' ').strip('-') + suffix
|
||||
if shared.opts.save_images_add_number:
|
||||
if '[seq]' not in file_decoration:
|
||||
file_decoration = f"[seq]-{file_decoration}"
|
||||
|
||||
@@ -931,6 +931,7 @@ class StableDiffusionProcessingTxt2Img(StableDiffusionProcessing):
|
||||
self.extra_generation_params["Hires steps"] = self.hr_second_pass_steps
|
||||
if self.hr_upscaler is not None:
|
||||
self.extra_generation_params["Hires upscaler"] = self.hr_upscaler
|
||||
self.extra_generation_params["Secondary sampler"] = self.latent_sampler
|
||||
|
||||
def sample(self, conditioning, unconditional_conditioning, seeds, subseeds, subseed_strength, prompts):
|
||||
|
||||
|
||||
@@ -366,6 +366,7 @@ def process_diffusers(p: StableDiffusionProcessing, seeds, prompts, negative_pro
|
||||
p.extra_generation_params['Refiner steps'] = p.refiner_steps
|
||||
p.extra_generation_params['Refiner start'] = p.refiner_start
|
||||
p.extra_generation_params["Hires steps"] = p.hr_second_pass_steps
|
||||
p.extra_generation_params["Secondary sampler"] = p.latent_sampler
|
||||
|
||||
if not shared.state.interrupted and not shared.state.skipped:
|
||||
refiner_images = vae_decode(latents=refiner_output.images, model=shared.sd_refiner, full_quality=True)
|
||||
|
||||
@@ -495,6 +495,7 @@ def create_ui(startup_timer = None):
|
||||
(subseed_strength, "Variation strength"),
|
||||
(clip_skip, "Clip skip"),
|
||||
(latent_index, "Latent sampler"),
|
||||
(latent_index, "Secondary sampler"),
|
||||
(denoising_strength, "Denoising strength"),
|
||||
(refiner_steps, "Refiner steps"),
|
||||
(refiner_start, "Refiner start"),
|
||||
@@ -854,6 +855,7 @@ def create_ui(startup_timer = None):
|
||||
(subseed_strength, "Variation strength"),
|
||||
(clip_skip, "Clip skip"),
|
||||
(latent_index, "Latent sampler"),
|
||||
(latent_index, "Secondary sampler"),
|
||||
(denoising_strength, "Denoising strength"),
|
||||
(refiner_steps, "Refiner steps"),
|
||||
(refiner_start, "Refiner start"),
|
||||
|
||||
Reference in New Issue
Block a user