aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-27 10:44:00 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-27 10:44:00 +0300
commitada901ed661a717c44281d640b8fc0a275d4cb48 (patch)
treeece33cff7a600ba5f51fec4039fa12f3baaa08c7 /modules/ui.py
parenta9dc307a210780546b970c68773f1ba39ac594c2 (diff)
added console outputs, more clear indication of progress, and ability to specify full filename to checkpoint merger
restore "Loading..." text
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 5476c32f..e96109c9 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -49,6 +49,7 @@ sample_img2img = sample_img2img if os.path.exists(sample_img2img) else None
css_hide_progressbar = """
.wrap .m-12 svg { display:none!important; }
+.wrap .m-12::before { content:"Loading..." }
.progress-bar { display:none!important; }
.meta-text { display:none!important; }
"""
@@ -865,7 +866,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo, run_modelmerger):
submit = gr.Button(elem_id="modelmerger_merge", label="Merge", variant='primary')
with gr.Column(variant='panel'):
- submit_result = gr.HTML(elem_id="modelmerger_result")
+ submit_result = gr.Textbox(elem_id="modelmerger_result", show_label=False)
submit.click(
fn=run_modelmerger,