Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sd_vae_explanation #16748

Merged
merged 1 commit into from
Dec 24, 2024
Merged

fix sd_vae_explanation #16748

merged 1 commit into from
Dec 24, 2024

Conversation

w-e-w
Copy link
Collaborator

@w-e-w w-e-w commented Dec 24, 2024

Description

sd_vae_explanation was not showing

options_templates.update(options_section(('vae', "VAE", "sd"), {
"sd_vae_explanation": OptionHTML("""
<abbr title='Variational autoencoder'>VAE</abbr> is a neural network that transforms a standard <abbr title='red/green/blue'>RGB</abbr>
image into latent space representation and back. Latent space representation is what stable diffusion is working on during sampling
(i.e. when the progress bar is between empty and full). For txt2img, VAE is used to create a resulting image after the sampling is finished.
For img2img, VAE is used to process user's input image before the sampling, and to create an image after sampling.
"""),
"sd_vae_checkpoint_cache": OptionInfo(0, "VAE Checkpoints to cache in RAM", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}),

cause auto must have forgotten to rename the key of OptionHTML for callbacks_order_settings from sd_vae_explanation to something else when implementing it, causing a duplicate entry overriding the sd_vae_explanation

Screenshots/videos:

image

Checklist:

@catboxanon catboxanon merged commit f25c3fc into dev Dec 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants