Commit a889c93f authored by yfszzx's avatar yfszzx

paste_fields add to public

parent d7987ef9
...@@ -784,6 +784,7 @@ def create_ui(wrap_gradio_gpu_call): ...@@ -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): ...@@ -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"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment