add some outputs to indicate progress updates (sorta)

Actual progressbar still needed. Also minor formatting fixes.
This commit is contained in:
Alex "mcmonkey" Goodwin 2023-03-27 09:41:06 -07:00
parent 2afe1c13c1
commit c07bcd0850
2 changed files with 13 additions and 4 deletions

View file

@ -490,7 +490,7 @@ def create_interface():
shared.gradio['reset_interface'].click(set_interface_arguments, [shared.gradio[k] for k in ['interface_modes_menu', 'extensions_menu', 'cmd_arguments_menu']], None)
shared.gradio['reset_interface'].click(lambda : None, None, None, _js='() => {document.body.innerHTML=\'<h1 style="font-family:monospace;margin-top:20%;color:lightgray;text-align:center;">Reloading...</h1>\'; setTimeout(function(){location.reload()},2500)}')
if shared.args.extensions is not None:
extensions_module.create_extensions_block()