put interrupt and skip buttons back where they were

This commit is contained in:
AUTOMATIC 2023-01-15 20:29:48 +03:00
parent a534bdfc80
commit b6ce041cdf
2 changed files with 5 additions and 5 deletions

View file

@ -357,8 +357,8 @@ def create_toprow(is_img2img):
with gr.Column(scale=1):
with gr.Row(elem_id=f"{id_part}_generate_box"):
skip = gr.Button('Skip', elem_id=f"{id_part}_skip")
interrupt = gr.Button('Interrupt', elem_id=f"{id_part}_interrupt")
skip = gr.Button('Skip', elem_id=f"{id_part}_skip")
submit = gr.Button('Generate', elem_id=f"{id_part}_generate", variant='primary')
skip.click(

View file

@ -480,13 +480,13 @@ input[type="range"]{
}
#txt2img_interrupt, #img2img_interrupt{
right: 0;
border-radius: 0 0.5rem 0.5rem 0;
}
#txt2img_skip, #img2img_skip{
left: 0;
border-radius: 0.5rem 0 0 0.5rem;
}
#txt2img_skip, #img2img_skip{
right: 0;
border-radius: 0 0.5rem 0.5rem 0;
}
.red {
color: red;