cleanup diag logging

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-08-16 09:46:47 -04:00
parent 192af76716
commit 0bb6603c2e
3 changed files with 11 additions and 9 deletions
+2
View File
@@ -102,6 +102,8 @@ def analyze():
keys = sd_models.get_signature(shared.sd_model).keys()
model.modules.clear()
for k in keys: # pylint: disable=protected-access
if k.startswith('_'):
continue
component = getattr(shared.sd_model, k, None)
module = Module(k, component)
model.modules.append(module)