diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-17 09:38:15 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-17 09:38:15 +0000 |
commit | 99585b3514e2d7e987651d5c6a0806f933af012b (patch) | |
tree | 3586d8887f4bf3ce6a99cc588c33f4111ba054a9 /modules/ui.py | |
parent | f8f17e3b9e61f238dd32b6d1bab5db040c531559 (diff) | |
download | stable-diffusion-webui-gfx803-99585b3514e2d7e987651d5c6a0806f933af012b.tar.gz stable-diffusion-webui-gfx803-99585b3514e2d7e987651d5c6a0806f933af012b.tar.bz2 stable-diffusion-webui-gfx803-99585b3514e2d7e987651d5c6a0806f933af012b.zip |
moved progressbar to top by request
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/ui.py b/modules/ui.py index 36e3c664..960f1e36 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -337,6 +337,8 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): custom_inputs = modules.scripts.scripts_txt2img.setup_ui(is_img2img=False)
with gr.Column(variant='panel'):
+ progressbar = gr.HTML(elem_id="progressbar")
+
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)
@@ -349,8 +351,6 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): send_to_extras = gr.Button('Send to extras')
interrupt = gr.Button('Interrupt')
- progressbar = gr.HTML(elem_id="progressbar")
-
with gr.Group():
html_info = gr.HTML()
generation_info = gr.Textbox(visible=False)
@@ -474,6 +474,8 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): custom_inputs = modules.scripts.scripts_img2img.setup_ui(is_img2img=True)
with gr.Column(variant='panel'):
+ progressbar = gr.HTML(elem_id="progressbar")
+
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)
@@ -487,7 +489,6 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo): interrupt = gr.Button('Interrupt')
img2img_save_style = gr.Button('Save prompt as style')
- progressbar = gr.HTML(elem_id="progressbar")
with gr.Group():
html_info = gr.HTML()
|