paste_fields add to public
This commit is contained in:
parent
d7987ef9da
commit
a889c93f23
1 changed files with 2 additions and 0 deletions
|
@ -784,6 +784,7 @@ def create_ui(wrap_gradio_gpu_call):
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
global txt2img_paste_fields
|
||||||
txt2img_paste_fields = [
|
txt2img_paste_fields = [
|
||||||
(txt2img_prompt, "Prompt"),
|
(txt2img_prompt, "Prompt"),
|
||||||
(txt2img_negative_prompt, "Negative prompt"),
|
(txt2img_negative_prompt, "Negative prompt"),
|
||||||
|
@ -1054,6 +1055,7 @@ def create_ui(wrap_gradio_gpu_call):
|
||||||
outputs=[prompt, negative_prompt, style1, style2],
|
outputs=[prompt, negative_prompt, style1, style2],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
global img2img_paste_fields
|
||||||
img2img_paste_fields = [
|
img2img_paste_fields = [
|
||||||
(img2img_prompt, "Prompt"),
|
(img2img_prompt, "Prompt"),
|
||||||
(img2img_negative_prompt, "Negative prompt"),
|
(img2img_negative_prompt, "Negative prompt"),
|
||||||
|
|
Loading…
Reference in a new issue