aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-09-09 07:19:46 +0300
committerGitHub <noreply@github.com>2022-09-09 07:19:46 +0300
commit93524bfb739b003063c870f2e63a0e583f6c049a (patch)
treea156ab83a2d39129c22edf2031f15c9d640ff5d9 /modules
parent7c8b6b2abbaf37b370f78c446755beeb6dc9efcf (diff)
parent5d49003e0db1cab4950e8efd9cfd33939cfaacf7 (diff)
Merge pull request #153 from SafentisFox/fix_output_display
Fix webui.bat ignoring cmd line arguments, fix output img overflowing
Diffstat (limited to 'modules')
-rw-r--r--modules/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 8767d439..ccd2d853 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -228,7 +228,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
with gr.Column(variant='panel'):
with gr.Group():
txt2img_preview = gr.Image(elem_id='txt2img_preview', visible=False)
- txt2img_gallery = gr.Gallery(label='Output', elem_id='txt2img_gallery')
+ txt2img_gallery = gr.Gallery(label='Output', elem_id='txt2img_gallery').style(grid=4)
with gr.Group():
@@ -364,7 +364,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
with gr.Column(variant='panel'):
with gr.Group():
img2img_preview = gr.Image(elem_id='img2img_preview', visible=False)
- img2img_gallery = gr.Gallery(label='Output', elem_id='img2img_gallery')
+ img2img_gallery = gr.Gallery(label='Output', elem_id='img2img_gallery').style(grid=4)
with gr.Group():
with gr.Row():