put interrupt and skip buttons back where they were
This commit is contained in:
parent
a534bdfc80
commit
b6ce041cdf
|
@ -357,8 +357,8 @@ def create_toprow(is_img2img):
|
||||||
|
|
||||||
with gr.Column(scale=1):
|
with gr.Column(scale=1):
|
||||||
with gr.Row(elem_id=f"{id_part}_generate_box"):
|
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")
|
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')
|
submit = gr.Button('Generate', elem_id=f"{id_part}_generate", variant='primary')
|
||||||
|
|
||||||
skip.click(
|
skip.click(
|
||||||
|
|
|
@ -480,13 +480,13 @@ input[type="range"]{
|
||||||
}
|
}
|
||||||
|
|
||||||
#txt2img_interrupt, #img2img_interrupt{
|
#txt2img_interrupt, #img2img_interrupt{
|
||||||
right: 0;
|
|
||||||
border-radius: 0 0.5rem 0.5rem 0;
|
|
||||||
}
|
|
||||||
#txt2img_skip, #img2img_skip{
|
|
||||||
left: 0;
|
left: 0;
|
||||||
border-radius: 0.5rem 0 0 0.5rem;
|
border-radius: 0.5rem 0 0 0.5rem;
|
||||||
}
|
}
|
||||||
|
#txt2img_skip, #img2img_skip{
|
||||||
|
right: 0;
|
||||||
|
border-radius: 0 0.5rem 0.5rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
.red {
|
.red {
|
||||||
color: red;
|
color: red;
|
||||||
|
|
Loading…
Reference in New Issue