MCPcopy Create free account
hub / github.com/vladmandic/sdnext / reload

Method reload

scripts/layerdiffuse_ext.py:28–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return self.is_active()
27
28 def reload(self):
29 sd_models.reload_model_weights(force=True)
30 return self.is_active()
31
32 def is_active(self):
33 if not shared.sd_loaded:

Callers 1

get_obj_from_strFunction · 0.45

Calls 1

is_activeMethod · 0.95

Tested by

no test coverage detected