prompt=gr.Textbox(label="Prompt",elem_id=f"{id_part}_prompt",show_label=False,lines=3,placeholder="Prompt (press Ctrl+Enter or Alt+Enter to generate)")
prompt=gr.Textbox(label="Prompt",elem_id=f"{id_part}_prompt",show_label=False,lines=3,placeholder="Prompt (press Ctrl+Enter or Alt+Enter to generate)",elem_classes=["prompt"])
withgr.Row():
withgr.Column(scale=80):
withgr.Row():
negative_prompt=gr.Textbox(label="Negative prompt",elem_id=f"{id_part}_neg_prompt",show_label=False,lines=3,placeholder="Negative prompt (press Ctrl+Enter or Alt+Enter to generate)")
negative_prompt=gr.Textbox(label="Negative prompt",elem_id=f"{id_part}_neg_prompt",show_label=False,lines=3,placeholder="Negative prompt (press Ctrl+Enter or Alt+Enter to generate)",elem_classes=["prompt"])
hr_sampler_index=gr.Dropdown(label='Hires sampling method',elem_id="hr_sampler",choices=["Use same sampler"]+[x.nameforxinsamplers_for_img2img],value="Use same sampler",type="index")
hr_prompt=gr.Textbox(label="Prompt",elem_id="hires_prompt",show_label=False,lines=3,placeholder="Prompt for hires fix pass.\nLeave empty to use the same prompt as in first pass.")
hr_prompt=gr.Textbox(label="Prompt",elem_id="hires_prompt",show_label=False,lines=3,placeholder="Prompt for hires fix pass.\nLeave empty to use the same prompt as in first pass.",elem_classes=["prompt"])
withgr.Column(scale=80):
withgr.Row():
hr_negative_prompt=gr.Textbox(label="Negative prompt",elem_id="hires_neg_prompt",show_label=False,lines=3,placeholder="Negative prompt for hires fix pass.\nLeave empty to use the same negative prompt as in first pass.")
hr_negative_prompt=gr.Textbox(label="Negative prompt",elem_id="hires_neg_prompt",show_label=False,lines=3,placeholder="Negative prompt for hires fix pass.\nLeave empty to use the same negative prompt as in first pass.",elem_classes=["prompt"])