diff options
author | yfszzx <yfszzx@gmail.com> | 2022-10-24 03:13:16 +0000 |
---|---|---|
committer | yfszzx <yfszzx@gmail.com> | 2022-10-24 03:13:16 +0000 |
commit | a889c93f23f1e80d0dac4e5ddbc3a26207e8cdf1 (patch) | |
tree | b3a57b9fc47b995f2b42b6ea2c12b0807d076701 | |
parent | d7987ef9da2d89f146e091f0c727444a522245d9 (diff) | |
download | stable-diffusion-webui-gfx803-a889c93f23f1e80d0dac4e5ddbc3a26207e8cdf1.tar.gz stable-diffusion-webui-gfx803-a889c93f23f1e80d0dac4e5ddbc3a26207e8cdf1.tar.bz2 stable-diffusion-webui-gfx803-a889c93f23f1e80d0dac4e5ddbc3a26207e8cdf1.zip |
paste_fields add to public
-rw-r--r-- | modules/ui.py | 2 |
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"),
|