mirror of https://github.com/vladmandic/automatic
add SD_SCRIPT_DEBUG
parent
b3ef21074a
commit
69a025f4d2
7
webui.py
7
webui.py
|
|
@ -312,6 +312,13 @@ def webui(restart=False):
|
|||
load_model()
|
||||
shared.opts.save(shared.config_filename)
|
||||
log.info(f"Startup time: {timer.startup.summary()}")
|
||||
debug = log.info if os.environ.get('SD_SCRIPT_DEBUG', None) is not None else lambda *args, **kwargs: None
|
||||
debug('Loaded scripts:')
|
||||
for m in modules.scripts.scripts_data:
|
||||
debug(f' {m}')
|
||||
debug('Loaded postprocessing scripts:')
|
||||
for m in modules.scripts.postprocessing_scripts_data:
|
||||
debug(f' {m}')
|
||||
timer.startup.reset()
|
||||
|
||||
if not restart:
|
||||
|
|
|
|||
2
wiki
2
wiki
|
|
@ -1 +1 @@
|
|||
Subproject commit 8df455494e46a0d764e9b0b8fc0f6d50775b2f3f
|
||||
Subproject commit 660b43a13a83a810c5b8ca7f8bb85e043bfd4b9d
|
||||
Loading…
Reference in New Issue