Skip to content

Commit

Permalink
Fix webui.bat ignoring cmd line arguments, fix output img overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
SafentisFox committed Sep 8, 2022
1 parent 3eea3c4 commit 6dc5cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion webui.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 6dc5cf5

Please sign in to comment.