diff options
author | safentisAuth <safentis@csd.auth.gr> | 2022-09-08 12:08:23 +0000 |
---|---|---|
committer | safentisAuth <safentis@csd.auth.gr> | 2022-09-08 12:08:23 +0000 |
commit | 6dc5cf558dd8a0d12ddccb8027430ed154f9903a (patch) | |
tree | 5a114c96073850c6132444c88304f5f8fbed35e8 | |
parent | 3eea3c4dab96e75afcafbd37c3da5a31cac0f9cb (diff) | |
download | stable-diffusion-webui-gfx803-6dc5cf558dd8a0d12ddccb8027430ed154f9903a.tar.gz stable-diffusion-webui-gfx803-6dc5cf558dd8a0d12ddccb8027430ed154f9903a.tar.bz2 stable-diffusion-webui-gfx803-6dc5cf558dd8a0d12ddccb8027430ed154f9903a.zip |
Fix webui.bat ignoring cmd line arguments, fix output img overflowing
-rw-r--r-- | modules/ui.py | 4 | ||||
-rw-r--r-- | webui.bat | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/ui.py b/modules/ui.py index b1a8c776..5eb12b02 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():
@@ -363,7 +363,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():
@@ -2,7 +2,7 @@ set PYTHON=python
set GIT=git
-set COMMANDLINE_ARGS=
+set COMMANDLINE_ARGS=%*
set VENV_DIR=venv
if exist webui.settings.bat (
|