create send to buttons by extensions

This commit is contained in:
yfszzx 2022-10-27 18:00:51 +08:00
parent ed0821de21
commit e0cbf53f45

View file

@ -1568,7 +1568,8 @@ def create_ui(wrap_gradio_gpu_call):
if column is not None: if column is not None:
column.__exit__() column.__exit__()
parameters_copypaste.run_bind()
interfaces = [ interfaces = [
(txt2img_interface, "txt2img", "txt2img"), (txt2img_interface, "txt2img", "txt2img"),
@ -1581,7 +1582,7 @@ def create_ui(wrap_gradio_gpu_call):
interfaces += script_callbacks.ui_tabs_callback() interfaces += script_callbacks.ui_tabs_callback()
interfaces += [(settings_interface, "Settings", "settings")] interfaces += [(settings_interface, "Settings", "settings")]
css = "" css = ""
@ -1667,7 +1668,8 @@ def create_ui(wrap_gradio_gpu_call):
'CLIP_stop_at_last_layers': 'Clip skip', 'CLIP_stop_at_last_layers': 'Clip skip',
'sd_model_checkpoint': 'Model hash', 'sd_model_checkpoint': 'Model hash',
} }
parameters_copypaste.run_bind()
ui_config_file = cmd_opts.ui_config_file ui_config_file = cmd_opts.ui_config_file
ui_settings = {} ui_settings = {}