Fix webui.bat ignoring cmd line arguments, fix output img overflowing
This commit is contained in:
parent
3eea3c4dab
commit
6dc5cf558d
2 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
|
||||||
with gr.Column(variant='panel'):
|
with gr.Column(variant='panel'):
|
||||||
with gr.Group():
|
with gr.Group():
|
||||||
txt2img_preview = gr.Image(elem_id='txt2img_preview', visible=False)
|
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():
|
with gr.Group():
|
||||||
|
@ -363,7 +363,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
|
||||||
with gr.Column(variant='panel'):
|
with gr.Column(variant='panel'):
|
||||||
with gr.Group():
|
with gr.Group():
|
||||||
img2img_preview = gr.Image(elem_id='img2img_preview', visible=False)
|
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.Group():
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set PYTHON=python
|
set PYTHON=python
|
||||||
set GIT=git
|
set GIT=git
|
||||||
set COMMANDLINE_ARGS=
|
set COMMANDLINE_ARGS=%*
|
||||||
set VENV_DIR=venv
|
set VENV_DIR=venv
|
||||||
|
|
||||||
if exist webui.settings.bat (
|
if exist webui.settings.bat (
|
||||||
|
|
Loading…
Reference in a new issue