[WebUi] Remove unsupported full_width parameter, Reactivate gallery nav while multiple images are generated

This commit is contained in:
m68k-fr
2023-03-01 09:14:43 +01:00
committed by Gaurav Shukla
parent b1113ab551
commit f09574538c
4 changed files with 9 additions and 3 deletions

View File

@@ -213,3 +213,9 @@ footer {
#gallery + div {
border-radius: 0 !important;
}
/* Prevent progress bar to block gallery navigation while building images (Gradio V3.19.0) */
#gallery .wrap.default {
pointer-events: none;
}

View File

@@ -76,7 +76,7 @@ with gr.Blocks(title="Image-to-Image") as img2img_web:
)
init_image = gr.Image(label="Input Image", type="pil").style(
height=300, full_width=True
height=300
)
with gr.Accordion(label="Advanced Options", open=False):

View File

@@ -76,7 +76,7 @@ with gr.Blocks(title="Inpainting") as inpaint_web:
source="upload",
tool="sketch",
type="pil",
).style(height=350, full_width=True)
).style(height=350)
with gr.Accordion(label="Advanced Options", open=False):
with gr.Row():

View File

@@ -72,7 +72,7 @@ with gr.Blocks(title="Outpainting") as outpaint_web:
)
init_image = gr.Image(label="Input Image", type="pil").style(
height=300, full_width=True
height=300
)
with gr.Accordion(label="Advanced Options", open=False):