aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authoryfszzx <yfszzx@gmail.com>2022-10-24 11:13:16 +0800
committeryfszzx <yfszzx@gmail.com>2022-10-24 11:13:16 +0800
commita889c93f23f1e80d0dac4e5ddbc3a26207e8cdf1 (patch)
treeb3a57b9fc47b995f2b42b6ea2c12b0807d076701 /modules/ui.py
parentd7987ef9da2d89f146e091f0c727444a522245d9 (diff)
paste_fields add to public
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ui.py b/modules/ui.py
index a32f7259..a73b9ff0 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -784,6 +784,7 @@ def create_ui(wrap_gradio_gpu_call):
]
)
+ global txt2img_paste_fields
txt2img_paste_fields = [
(txt2img_prompt, "Prompt"),
(txt2img_negative_prompt, "Negative prompt"),
@@ -1054,6 +1055,7 @@ def create_ui(wrap_gradio_gpu_call):
outputs=[prompt, negative_prompt, style1, style2],
)
+ global img2img_paste_fields
img2img_paste_fields = [
(img2img_prompt, "Prompt"),
(img2img_negative_prompt, "Negative prompt"),