Skip to content
Discussion options

You must be logged in to vote

You may need to provide the api_name on given element.
The element key is options_templates["sd_model_checkpoint"], you need to modify the component_args part to have api_name key in it.

Example on bb295f5 snapshot:

"sd_model_checkpoint": OptionInfo(None, "Stable Diffusion checkpoint", gr.Dropdown, lambda: {"choices": modules.sd_models.checkpoint_tiles()}, refresh=sd_models.list_models),

from

OptionInfo(None, "Stable Diffusion checkpoint", gr.Dropdown, lambda: {"choices": modules.sd_models.checkpoint_tiles()}, refresh=sd_models.list_models)

into

OptionInfo(None, "Stable Diffusion checkpoint", gr.Dropdown, lambda:…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@aliencaocao
Comment options

@Kilvoctu
Comment options

@aliencaocao
Comment options

@Kilvoctu
Comment options

@aliencaocao
Comment options

Answer selected by Kilvoctu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants