aboutsummaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorpapuSpartan <mcgpapu@gmail.com>2022-10-11 08:03:31 -0500
committerpapuSpartan <mcgpapu@gmail.com>2022-10-11 08:31:28 -0500
commitd01a2d01560b31937df1f3433d210c18f97d32fa (patch)
tree6b6c52d08efa103e0753d4a6d0b9140f8a03d24a /webui.py
parent1add3cff84b7e2436d69b1e97ae689281e4a7c33 (diff)
move list refresh to webui.py and add stdout indicating it's doing so
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui.py b/webui.py
index 270584f7..94098c4c 100644
--- a/webui.py
+++ b/webui.py
@@ -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')