From 918174e3073c438fd78eedaebf2e1dfc50c52f29 Mon Sep 17 00:00:00 2001 From: brknsoul Date: Fri, 18 Oct 2024 13:42:07 +1030 Subject: [PATCH] Update shared.py added autolaunch option --- modules/shared.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/shared.py b/modules/shared.py index 6f7c14d75..d54fd65b3 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -426,6 +426,7 @@ startup_offload_mode, startup_cross_attention, startup_sdp_options = get_default options_templates.update(options_section(('sd', "Execution & Models"), { "sd_backend": OptionInfo(default_backend, "Execution backend", gr.Radio, {"choices": ["diffusers", "original"] }), + "autolaunch": OptionInfo(False, "Autolaunch browser upon startup"), "sd_model_checkpoint": OptionInfo(default_checkpoint, "Base model", gr.Dropdown, lambda: {"choices": list_checkpoint_tiles()}, refresh=refresh_checkpoints), "sd_model_refiner": OptionInfo('None', "Refiner model", gr.Dropdown, lambda: {"choices": ['None'] + list_checkpoint_tiles()}, refresh=refresh_checkpoints), "sd_vae": OptionInfo("Automatic", "VAE model", gr.Dropdown, lambda: {"choices": shared_items.sd_vae_items()}, refresh=shared_items.refresh_vae_list),