Adding prefix and suffix to A1111

This commit is contained in:
AIrjen
2024-06-14 08:58:51 +02:00
parent 9030e78f98
commit 34bf23e7b0
6 changed files with 55 additions and 30 deletions
+6
View File
@@ -407,6 +407,12 @@ class Script(scripts.Script):
value="Standard",
)
with gr.Group(visible=True) as presetgroup:
with gr.Row():
gr.Markdown("""
<font size="2">
These prefix and suffix are run on top the of preset. Can be used for LoRA's and other general stylings.
</font>
""")
with gr.Row():
presetprefix = gr.Textbox(label="Preset prefix: ", value="")
presetsuffix = gr.Textbox(label="Preset suffix: ", value="")