diff options
author | Alexandre Simard <as.simard@outlook.com> | 2022-10-19 16:53:23 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-19 17:06:41 +0000 |
commit | 1e4809b251d478a102fd980dcfc26e21d6d3730b (patch) | |
tree | b6b4141faf10fd761c000ceba4f026aa133476a3 /modules/ui.py | |
parent | 57eb1a64c85d995cacb4fa3832e87405bf6820b9 (diff) | |
download | stable-diffusion-webui-gfx803-1e4809b251d478a102fd980dcfc26e21d6d3730b.tar.gz stable-diffusion-webui-gfx803-1e4809b251d478a102fd980dcfc26e21d6d3730b.tar.bz2 stable-diffusion-webui-gfx803-1e4809b251d478a102fd980dcfc26e21d6d3730b.zip |
Added a bit of padding to the left
Diffstat (limited to 'modules/ui.py')
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index c9a923ab..a2dbd41e 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -298,7 +298,7 @@ def check_progress_call(id_part): progressbar = ""
if opts.show_progressbar:
- progressbar = f"""<div class='progressDiv'><div class='progress' style="overflow:visible;width:{progress * 100}%;white-space:nowrap;">{str(int(progress*100))+"%"+time_left if progress > 0.01 else ""}</div></div>"""
+ progressbar = f"""<div class='progressDiv'><div class='progress' style="overflow:visible;width:{progress * 100}%;white-space:nowrap;">{" " * 2 + str(int(progress*100))+"%" + time_left if progress > 0.01 else ""}</div></div>"""
image = gr_show(False)
preview_visibility = gr_show(False)
|