aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authoryfszzx <yfszzx@gmail.com>2022-10-27 18:00:51 +0800
committeryfszzx <yfszzx@gmail.com>2022-10-27 18:00:51 +0800
commite0cbf53f451f45ea73dafab654eb6596cbd67ec2 (patch)
tree9633297acd6a0b15d0fac2812597e6eecf20959d /modules
parented0821de2114fe2fccbb8dabb72f4ed73e6289ca (diff)
create send to buttons by extensions
Diffstat (limited to 'modules')
-rw-r--r--modules/ui.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/ui.py b/modules/ui.py
index ccba14b6..922a2163 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -1568,7 +1568,8 @@ def create_ui(wrap_gradio_gpu_call):
if column is not None:
column.__exit__()
- parameters_copypaste.run_bind()
+
+
interfaces = [
(txt2img_interface, "txt2img", "txt2img"),
@@ -1581,7 +1582,7 @@ def create_ui(wrap_gradio_gpu_call):
interfaces += script_callbacks.ui_tabs_callback()
- interfaces += [(settings_interface, "Settings", "settings")]
+ interfaces += [(settings_interface, "Settings", "settings")]
css = ""
@@ -1667,7 +1668,8 @@ def create_ui(wrap_gradio_gpu_call):
'CLIP_stop_at_last_layers': 'Clip skip',
'sd_model_checkpoint': 'Model hash',
}
-
+
+ parameters_copypaste.run_bind()
ui_config_file = cmd_opts.ui_config_file
ui_settings = {}