diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-22 09:30:11 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-22 09:30:11 +0000 |
commit | b0765a67888bac205cd8af55faec4e773d431feb (patch) | |
tree | 7839f57b47d559a60db058aef7c21cebc80af33a /modules/ui.py | |
parent | 91bfc71261e160451e89f35a7c0eef66ff98877c (diff) | |
download | stable-diffusion-webui-gfx803-b0765a67888bac205cd8af55faec4e773d431feb.tar.gz stable-diffusion-webui-gfx803-b0765a67888bac205cd8af55faec4e773d431feb.tar.bz2 stable-diffusion-webui-gfx803-b0765a67888bac205cd8af55faec4e773d431feb.zip |
remove labels from output gallery
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ui.py b/modules/ui.py index 3c898bd2..ca611f8f 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -435,7 +435,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): with gr.Group():
txt2img_preview = gr.Image(elem_id='txt2img_preview', visible=False)
- txt2img_gallery = gr.Gallery(label='Output', elem_id='txt2img_gallery').style(grid=4)
+ txt2img_gallery = gr.Gallery(label='Output', show_label=False, elem_id='txt2img_gallery').style(grid=4)
with gr.Group():
with gr.Row():
@@ -590,7 +590,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): with gr.Group():
img2img_preview = gr.Image(elem_id='img2img_preview', visible=False)
- img2img_gallery = gr.Gallery(label='Output', elem_id='img2img_gallery').style(grid=4)
+ img2img_gallery = gr.Gallery(label='Output', show_label=False, elem_id='img2img_gallery').style(grid=4)
with gr.Group():
with gr.Row():
@@ -750,7 +750,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): submit = gr.Button('Generate', elem_id="extras_generate", variant='primary')
with gr.Column(variant='panel'):
- result_images = gr.Gallery(label="Result")
+ result_images = gr.Gallery(label="Result", show_label=False)
html_info_x = gr.HTML()
html_info = gr.HTML()
|