diff options
author | DepFA <35278260+dfaker@users.noreply.github.com> | 2022-10-01 23:13:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 23:13:47 +0000 |
commit | 0aa354bd5e811e2b41b17a3052cf5d4c8190d533 (patch) | |
tree | 90cf8c34df38fe3fef685fe27024d76fe4362137 /modules/ui.py | |
parent | 55b046312c51bb7b2329d3b5b7f1c05956f821bf (diff) | |
download | stable-diffusion-webui-gfx803-0aa354bd5e811e2b41b17a3052cf5d4c8190d533.tar.gz stable-diffusion-webui-gfx803-0aa354bd5e811e2b41b17a3052cf5d4c8190d533.tar.bz2 stable-diffusion-webui-gfx803-0aa354bd5e811e2b41b17a3052cf5d4c8190d533.zip |
remove styling from python side
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 7b2359c2..cb859ac4 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1010,7 +1010,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo, run_modelmerger): fn=request_restart,
inputs=[],
outputs=[],
- _js='function(){document.body.innerHTML=\'<h1 style="font-family:monospace;margin-top:20%;color:lightgray;text-align:center;">Reloading...</h1>\';setTimeout(function(){location.reload()},2000)}'
+ _js='function(){restart_reload()}'
)
if column is not None:
|