diff options
author | papuSpartan <mcgpapu@gmail.com> | 2022-10-11 08:03:31 -0500 |
---|---|---|
committer | papuSpartan <mcgpapu@gmail.com> | 2022-10-11 08:31:28 -0500 |
commit | d01a2d01560b31937df1f3433d210c18f97d32fa (patch) | |
tree | 6b6c52d08efa103e0753d4a6d0b9140f8a03d24a /webui.py | |
parent | 1add3cff84b7e2436d69b1e97ae689281e4a7c33 (diff) |
move list refresh to webui.py and add stdout indicating it's doing so
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -124,6 +124,8 @@ def webui(): modules.scripts.reload_scripts(os.path.join(script_path, "scripts"))
print('Reloading modules: modules.ui')
importlib.reload(modules.ui)
+ print('Refreshing Model List')
+ modules.sd_models.list_models()
print('Restarting Gradio')
|