remove styling from python side

This commit is contained in:
DepFA 2022-10-02 00:13:47 +01:00 committed by GitHub
parent 55b046312c
commit 0aa354bd5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,7 +1010,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo, run_modelmerger):
fn=request_restart, fn=request_restart,
inputs=[], inputs=[],
outputs=[], 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: if column is not None: