mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
[WebUi] Remove unsupported full_width parameter, Reactivate gallery nav while multiple images are generated
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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():
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user