fix(scripts): fix is ad enabled

This commit is contained in:
Dowon
2024-08-24 19:14:10 +09:00
parent a3935fcc4f
commit 6090dcdaa9
2 changed files with 22 additions and 26 deletions

View File

@@ -219,6 +219,7 @@ def one_ui_group(n: int, is_img2img: bool, webui_info: WebuiInfo):
with gr.Group():
with gr.Row(elem_id=eid("ad_toprow_prompt")):
w.ad_prompt = gr.Textbox(
value="",
label="ad_prompt" + suffix(n),
show_label=False,
lines=3,
@@ -230,6 +231,7 @@ def one_ui_group(n: int, is_img2img: bool, webui_info: WebuiInfo):
with gr.Row(elem_id=eid("ad_toprow_negative_prompt")):
w.ad_negative_prompt = gr.Textbox(
value="",
label="ad_negative_prompt" + suffix(n),
show_label=False,
lines=2,